(text: string, phase: StreamCommit["phase"] = "progress")
| 90 | } |
| 91 | |
| 92 | function 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 | |
| 103 | function reasoning(text: string, phase: StreamCommit["phase"] = "progress"): StreamCommit { |
| 104 | return { |
no outgoing calls
no test coverage detected