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
@@ -40,6 +40,7 @@ func NewPluginSearchParallel(
tenantService interfaces.TenantService,
sessionService interfaces.SessionService,
webSearchStateService interfaces.WebSearchStateService,
webSearchProviderRepo interfaces.WebSearchProviderRepository,
graphRepository interfaces.RetrieveGraphRepository,
chunkRepository interfaces.ChunkRepository,
knowledgeRepository interfaces.KnowledgeRepository,
@@ -54,6 +55,7 @@ func NewPluginSearchParallel(
tenantService: tenantService,
sessionService: sessionService,
webSearchStateService: webSearchStateService,
webSearchProviderRepo: webSearchProviderRepo,
}
searchEntityPlugin := &PluginSearchEntity{