We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da2cc5 commit f7d2a62Copy full SHA for f7d2a62
packages/agent/src/core/llm/providers/anthropic.ts
@@ -80,12 +80,9 @@ export class AnthropicProvider implements LLMProvider {
80
// Add tools if provided
81
if (functions && functions.length > 0) {
82
(requestOptions as any).tools = functions.map(fn => ({
83
- type: 'custom',
84
- custom: {
85
- name: fn.name,
86
- description: fn.description,
87
- input_schema: fn.parameters,
88
- }
+ name: fn.name,
+ description: fn.description,
+ input_schema: fn.parameters,
89
}));
90
}
91
0 commit comments