(supportsToolCalls: boolean)
| 29 | |
| 30 | /** True when this model can't take the native `tools` field and must use the text channel. */ |
| 31 | export function needsTextToolMode(supportsToolCalls: boolean): boolean { |
| 32 | return supportsToolCalls === false; |
| 33 | } |
| 34 | |
| 35 | /** Render one tool schema as a compact, model-readable spec line block. */ |
| 36 | function renderToolSpec(schema: ToolSchema): string { |
no outgoing calls
no test coverage detected