(id: string, name: string, args: Record<string, unknown>)
| 87 | } |
| 88 | |
| 89 | function toolCall(id: string, name: string, args: Record<string, unknown>): ToolCall { |
| 90 | return { |
| 91 | type: 'function', |
| 92 | id, |
| 93 | name, |
| 94 | arguments: JSON.stringify(args), |
| 95 | }; |
| 96 | } |
| 97 | |
| 98 | function goalSnapshot(overrides: Partial<GoalSnapshot> = {}): GoalSnapshot { |
| 99 | const status = overrides.status ?? 'active'; |
no outgoing calls
no test coverage detected