( id: string, title: string, expanded = false )
| 25 | }; |
| 26 | |
| 27 | const createAgentStep = ( |
| 28 | id: string, |
| 29 | title: string, |
| 30 | expanded = false |
| 31 | ): AgentStep => ({ |
| 32 | id, |
| 33 | title, |
| 34 | content: "", |
| 35 | expanded, |
| 36 | contents: [], |
| 37 | metrics: null, |
| 38 | thinking: { content: "", expanded }, |
| 39 | code: { content: "", expanded }, |
| 40 | output: { content: "", expanded }, |
| 41 | }); |
| 42 | |
| 43 | const getOrCreateCurrentStep = ( |
| 44 | steps: AgentStep[], |
no outgoing calls
no test coverage detected