MCPcopy Index your code
hub / github.com/anomalyco/opencode / tutorial.ts

File tutorial.ts

packages/llm/example/tutorial.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Config, Effect, Formatter, Layer, Schema, Stream } from "effect"
2import { LLM, LLMClient, Message, ProviderID, Tool, ToolRuntime } from "@opencode-ai/llm"
3import { Route, Auth, Endpoint, Framing, Protocol, RequestExecutor, WebSocketExecutor } from "@opencode-ai/llm/route"
4import { OpenAI } from "@opencode-ai/llm/providers"

Callers

nothing calls this directly

Calls 11

modelMethod · 0.80
streamMethod · 0.80
syncMethod · 0.80
writeMethod · 0.80
pathMethod · 0.80
requestMethod · 0.45
logMethod · 0.45
makeMethod · 0.45
fromMethod · 0.45
toolMethod · 0.45
prepareMethod · 0.45

Tested by

no test coverage detected