修复:避免未配置的搜索 Provider 导致深度研究不可用 - #744
Open
FlyAIBox wants to merge 2 commits into
Open
Conversation
Replaced direct checks for configured deep research sources with a new function, getDeepResearchConfigurationMessage, across multiple components. This enhances the user experience by providing more informative alerts regarding configuration issues. Updated related UI elements to reflect the new configuration checks and added corresponding translations for improved clarity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The External Information Sources settings allowed a Web Search provider to be marked Active even when its required API key or instance URL was missing.
For example, Tavily could be fully configured while an empty SerpApi entry remained active. Deep Research would then reject the active provider and show the generic “sources are not configured” message, making it look as though the saved Tavily configuration had been lost or ignored.
Provider switching also reused denormalized top-level fields, which could carry stale credentials from the previously active provider into the newly selected provider.
Fix
The branch also keeps manually dispatched macOS candidate builds unsigned so they can verify compilation without release signing secrets. Tag-triggered release builds remain signed and notarized.
Verification
npm exec vitest run src/lib/web-search.test.ts— 9 tests passednpm run test:mocks— 132 test files / 1,878 tests passednpm run typecheck— passednpm run build— passed