Function
textContentChunk
(args: {
messageId: string
delta: string
content: string
})
Source from the content-addressed store, hash-verified
| 154 | } |
| 155 | |
| 156 | function textContentChunk(args: { |
| 157 | messageId: string |
| 158 | delta: string |
| 159 | content: string |
| 160 | }) { |
| 161 | return { |
| 162 | type: EventType.TEXT_MESSAGE_CONTENT, |
| 163 | messageId: args.messageId, |
| 164 | timestamp: Date.now(), |
| 165 | delta: args.delta, |
| 166 | content: args.content, |
| 167 | } satisfies StreamChunk |
| 168 | } |
| 169 | |
| 170 | function dispatchToolFixture(overrides: Partial<AIDevtoolsToolFixture> = {}) { |
| 171 | const fixture: AIDevtoolsToolFixture = { |
Tested by
no test coverage detected