(text: string, phase: StreamCommit["phase"] = "progress")
| 101 | } |
| 102 | |
| 103 | function 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 | |
| 114 | test("turn summary starts at the left edge", async () => { |
| 115 | const out = await setup() |
no outgoing calls
no test coverage detected