( thinkingId: string, thinkingCollapseState?: ThinkingCollapseState, userOpened?: boolean, )
| 64 | |
| 65 | // Helper to create thinking/text blocks with thinkingId |
| 66 | const createThinkingBlock = ( |
| 67 | thinkingId: string, |
| 68 | thinkingCollapseState?: ThinkingCollapseState, |
| 69 | userOpened?: boolean, |
| 70 | ): ContentBlock => ({ |
| 71 | type: 'text', |
| 72 | content: 'thinking content', |
| 73 | thinkingId, |
| 74 | ...(thinkingCollapseState !== undefined && { thinkingCollapseState }), |
| 75 | userOpened, |
| 76 | }) |
| 77 | |
| 78 | // Helper to create agent-list blocks |
| 79 | const createAgentListBlock = ( |
no outgoing calls
no test coverage detected