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

Function reasoning

packages/opencode/test/cli/run/scrollback.surface.test.ts:103–112  ·  view source on GitHub ↗
(text: string, phase: StreamCommit["phase"] = "progress")

Source from the content-addressed store, hash-verified

101}
102
103function reasoning(text: string, phase: StreamCommit["phase"] = "progress"): StreamCommit {
104 return {
105 kind: "reasoning",
106 text,
107 phase,
108 source: "reasoning",
109 messageID: "msg-r-1",
110 partID: "part-r-1",
111 }
112}
113
114test("turn summary starts at the left edge", async () => {
115 const out = await setup()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected