(id: string)
| 97 | } |
| 98 | |
| 99 | function makeTool(id: string): ProviderToolConfig { |
| 100 | return { |
| 101 | id, |
| 102 | name: id, |
| 103 | description: '', |
| 104 | params: {}, |
| 105 | parameters: { type: 'object', properties: {}, required: [] }, |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | const toolCall = (id: string, name: string, args = '{}'): ToolCall => ({ |
| 110 | id, |