MCPcopy Create free account
hub / github.com/anomalyco/opencode / llm-native.test.ts

File llm-native.test.ts

packages/opencode/test/session/llm-native.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test } from "bun:test"
2import { LLMEvent, ToolFailure } from "@opencode-ai/llm"
3import { LLMClient, RequestExecutor, WebSocketExecutor, type LLMClientShape } from "@opencode-ai/llm/route"
4import { jsonSchema, tool, type ModelMessage, type Tool } from "ai"

Callers

nothing calls this directly

Calls 15

testEffectFunction · 0.90
testFunction · 0.85
responsesStreamFunction · 0.85
modelMethod · 0.80
pushMethod · 0.80
streamMethod · 0.80
syncMethod · 0.80
cloneMethod · 0.80
executeMethod · 0.65
textMethod · 0.65
jsonMethod · 0.65

Tested by

no test coverage detected