deerflow2/tests/unit
Jiahe Wu 93d81d450d
feat: add enable_web_search config to disable web search (#681) (#760)
* 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
2025-12-15 19:17:24 +08:00
..
agents fix(agents): patch _run in ToolInterceptor to ensure interrupt triggering (#753) 2025-12-10 22:15:08 +08:00
checkpoint fix(checkpoint): clear in-memory store after successful persistence (#751) 2025-12-09 23:32:13 +08:00
config feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00
crawler feat: support infoquest (#708) 2025-12-02 08:16:35 +08:00
graph feat: add analysis step type for non-code reasoning tasks (#677) (#723) 2025-11-29 09:46:55 +08:00
llms fix(llm): filter unexpected config keys to prevent LangChain warnings (#411) (#726) 2025-11-29 16:13:05 +08:00
prompt_enhancer Upgrade langchain version to 1.x (#720) 2025-11-28 22:09:13 +08:00
rag feat: Qdrant Vector Search Support (#684) 2025-11-11 19:35:00 +08:00
server feat: add enable_web_search config to disable web search (#681) (#760) 2025-12-15 19:17:24 +08:00
tools feat: support infoquest (#708) 2025-12-02 08:16:35 +08:00
utils security: add log injection attack prevention with input sanitization (#667) 2025-10-27 20:57:23 +08:00