- Add get_tavily_search() for lazy initialization (renamed from _get_tavily_search) - Update deep_agent/graph.py to use lazy initialization - Add assertion check when DeepAgent loads to ensure search tool is available - Convert research_sub_agent to function to receive tools dynamically When TAVILY_API_KEY is not configured, the API server can now start normally. DeepAgent will show a clear error message when used without the API key. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| context.py | ||
| graph.py | ||
| prompts.py | ||