MCPcopy Create free account
hub / github.com/anomalyco/opencode / reasoningPart

Function reasoningPart

packages/opencode/test/cli/run/stream.transport.test.ts:302–311  ·  view source on GitHub ↗
(id: string, messageID: string, text: string)

Source from the content-addressed store, hash-verified

300}
301
302function reasoningPart(id: string, messageID: string, text: string): ReasoningPart {
303 return {
304 id,
305 sessionID: "session-1",
306 messageID,
307 type: "reasoning",
308 text,
309 time: { start: 1 },
310 }
311}
312
313function reasoningUpdated(part: ReasoningPart): SdkEvent {
314 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected