mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 18:46:19 +08:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user