Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ tool-runtime.test.ts
File
tool-runtime.test.ts
packages/llm/test/tool-runtime.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect } from
"bun:test"
2
import
{ Effect, Schema, Stream } from
"effect"
3
import
{
4
GenerationOptions,
Callers
nothing calls this directly
Calls
15
scriptedResponses
Function · 0.90
sseEvents
Function · 0.90
deltaChunk
Function · 0.90
finishChunk
Function · 0.90
toolCallChunk
Function · 0.90
dynamicResponse
Function · 0.90
toDefinitions
Function · 0.90
model
Method · 0.80
with
Method · 0.80
sync
Method · 0.80
push
Method · 0.80
respond
Method · 0.80
Tested by
no test coverage detected