(text: string, origin?: PromptOrigin)
| 16 | // --------------------------------------------------------------------------- |
| 17 | |
| 18 | function userMsg(text: string, origin?: PromptOrigin): ContextMessage { |
| 19 | return { |
| 20 | role: 'user', |
| 21 | content: [{ type: 'text', text }], |
| 22 | toolCalls: [], |
| 23 | origin, |
| 24 | }; |
| 25 | } |
| 26 | |
| 27 | function assistantMsg( |
| 28 | text: string, |
no outgoing calls
no test coverage detected