deerflow2/tests/unit/tools
Willem Jiang d30c4d00d3
fix: convert crawl_tool dict return to JSON string for type consistency (#636)
Keep fixing #631
This pull request updates the crawl_tool function to return its results as a JSON string instead of a dictionary, and adjusts the unit tests accordingly to handle the new return type. The changes ensure consistent serialization of output and proper validation in tests.
2025-10-21 10:00:33 +08:00
..
test_crawl.py fix: convert crawl_tool dict return to JSON string for type consistency (#636) 2025-10-21 10:00:33 +08:00
test_decorators.py feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00
test_python_repl.py feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00
test_search.py feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00
test_search_postprocessor.py feat: Add intelligent clarification feature in coordinate step for research queries (#613) 2025-10-14 13:35:57 +08:00
test_tavily_search_api_wrapper.py fix: correct image result format for OpenAI compatibility to fix #632 (#634) 2025-10-20 23:14:09 +08:00
test_tavily_search_results_with_images.py feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00
test_tools_retriever.py feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00