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

Function assistant

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

Source from the content-addressed store, hash-verified

90}
91
92function assistant(text: string, phase: StreamCommit["phase"] = "progress"): StreamCommit {
93 return {
94 kind: "assistant",
95 text,
96 phase,
97 source: "assistant",
98 messageID: "msg-1",
99 partID: "part-1",
100 }
101}
102
103function reasoning(text: string, phase: StreamCommit["phase"] = "progress"): StreamCommit {
104 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected