feat(web-search): refactor web search provider

- Updated relevant files to include provider registration, implementation, and metadata.
- Enhanced frontend components to support provider management and configuration.
- Added localization for new provider settings and messages.
- Implemented backend repository methods for CRUD operations on web search providers.
This commit is contained in:
wizardchen
2026-03-31 20:14:26 +08:00
committed by lyingbug
parent c59ae84157
commit a5ca9a2784
46 changed files with 2311 additions and 1499 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func ConvertWebSearchResults(
result := &types.SearchResult{
ID: chunkID,
Content: content,
KnowledgeID: "",
KnowledgeID: chunkID, // Use URL as KnowledgeID so each web result stays independent during merge
ChunkIndex: 0,
KnowledgeTitle: webResult.Title,
StartAt: 0,