( blocks: ContentBlock[], agentId: string, text: string, textType: 'text' | 'reasoning' = 'text', )
| 432 | } |
| 433 | |
| 434 | export const appendTextToAgentBlock = ( |
| 435 | blocks: ContentBlock[], |
| 436 | agentId: string, |
| 437 | text: string, |
| 438 | textType: 'text' | 'reasoning' = 'text', |
| 439 | ) => |
| 440 | updateAgentText(blocks, agentId, { |
| 441 | type: 'text', |
| 442 | mode: 'append', |
| 443 | content: text, |
| 444 | textType, |
| 445 | }) |
| 446 | |
| 447 | export const replaceTextInAgentBlock = ( |
| 448 | blocks: ContentBlock[], |
no test coverage detected