MCPcopy Index your code
hub / github.com/anomalyco/opencode / llm

Function llm

packages/opencode/test/server/httpapi-exercise/runner.ts:122–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 return context.dir.path
121 }
122 const llm = () => {
123 if (!context.llm) throw new Error("scenario needs fake LLM")
124 return context.llm
125 }
126 const base: ScenarioContext = {
127 directory: context.dir?.path,
128 headers: (extra) => ({

Callers 1

withContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected