fix(provider.anthropic): Fix Anthropic research tool identifier and add tests + local Claude permissions
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/smartai',
|
||||
version: '0.6.0',
|
||||
version: '0.6.1',
|
||||
description: 'SmartAi is a versatile TypeScript library designed to facilitate integration and interaction with various AI models, offering functionalities for chat, audio generation, document processing, and vision tasks.'
|
||||
}
|
||||
|
@@ -253,7 +253,7 @@ export class AnthropicProvider extends MultiModalModel {
|
||||
// Build the tool configuration for web search
|
||||
const tools = this.options.enableWebSearch ? [
|
||||
{
|
||||
type: 'computer_20241022' as const,
|
||||
type: 'web_search_20250305' as const,
|
||||
name: 'web_search',
|
||||
description: 'Search the web for current information',
|
||||
input_schema: {
|
||||
|
Reference in New Issue
Block a user