mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-22 16:06:50 +00:00
* feat: add enable_web_search config to disable web search (#681) * fix: skip enforce_researcher_search validation when web search is disabled - Return json.dumps([]) instead of empty string for consistency in background_investigation_node - Add enable_web_search check to skip validation warning when user intentionally disabled web search - Add warning log when researcher has no tools available - Update tests to include new enable_web_search parameter * fix: address Copilot review feedback - Coordinate enforce_web_search with enable_web_search in validate_and_fix_plan - Fix misleading comment in background_investigation_node * docs: add warning about local RAG setup when disabling web search * docs: add web search toggle section to configuration guide
This commit is contained in:
@@ -57,6 +57,9 @@ class Configuration:
|
||||
enforce_researcher_search: bool = (
|
||||
True # Enforce that researcher must use web search tool at least once
|
||||
)
|
||||
enable_web_search: bool = (
|
||||
True # Whether to enable web search, set to False to use only local RAG
|
||||
)
|
||||
interrupt_before_tools: list[str] = field(
|
||||
default_factory=list
|
||||
) # List of tool names to interrupt before execution
|
||||
|
||||
Reference in New Issue
Block a user