Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ llm.ts
File
llm.ts
packages/core/src/session/runner/llm.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{
2
LLM,
3
LLMClient,
4
LLMError,
Callers
nothing calls this directly
Calls
15
toLLMMessages
Function · 0.90
createLLMEventPublisher
Function · 0.90
isContextOverflowFailure
Function · 0.90
loadSystemContext
Function · 0.85
continueAfterCompaction
Function · 0.85
continueAfterOverflowCompaction
Function · 0.85
awaitToolFibers
Function · 0.85
isQuestionRejected
Function · 0.85
context
Method · 0.80
initialize
Method · 0.80
stream
Method · 0.80
publish
Function · 0.70
Tested by
no test coverage detected