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

Function loadSystemContext

packages/core/src/session/runner/llm.ts:163–166  ·  view source on GitHub ↗
(agent: AgentV2.Selection)

Source from the content-addressed store, hash-verified

161 new TurnTransitionError({ _tag: "ContinueAfterOverflowCompaction", step })
162
163 const loadSystemContext = (agent: AgentV2.Selection) =>
164 Effect.all([systemContext.load(), skillGuidance.load(agent), referenceGuidance.load()], {
165 concurrency: "unbounded",
166 }).pipe(Effect.map(SystemContext.combine))
167
168 const runTurnAttempt = Effect.fn("SessionRunner.runTurn")(function* (
169 sessionID: SessionSchema.ID,

Callers 1

llm.tsFile · 0.85

Calls 1

allMethod · 0.45

Tested by

no test coverage detected