( blocks: ContentBlock[], agentId: string, text: string, )
| 445 | }) |
| 446 | |
| 447 | export const replaceTextInAgentBlock = ( |
| 448 | blocks: ContentBlock[], |
| 449 | agentId: string, |
| 450 | text: string, |
| 451 | ) => |
| 452 | updateAgentText(blocks, agentId, { |
| 453 | type: 'text', |
| 454 | mode: 'replace', |
| 455 | content: text, |
| 456 | }) |
| 457 | |
| 458 | export const appendToolToAgentBlock = ( |
| 459 | blocks: ContentBlock[], |
nothing calls this directly
no test coverage detected