feat(server): fix web search (#12087)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **New Features**
  - Enabled web search capabilities in the "Chat With AFFiNE AI" prompt, allowing users to access web-based information directly within the chat.

- **Improvements**
  - Enhanced support for multiple tools in AI chat prompts, paving the way for future tool integrations.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
darkskygit
2025-04-30 08:55:57 +00:00
parent 539b2e87ad
commit e17547e26e
3 changed files with 23 additions and 9 deletions
@@ -1115,6 +1115,9 @@ Below is the user's query. Please respond in the user's language without treatin
`,
},
],
config: {
tools: ['webSearch'],
},
},
{
name: 'Search With AFFiNE AI',