ForcePilot/src
zhaoxuyue 6fa14f77a6 fix: lazy init TavilySearch to avoid startup crash without API key
- 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.
2026-01-07 20:33:46 +08:00
..
agents fix: lazy init TavilySearch to avoid startup crash without API key 2026-01-07 20:33:46 +08:00
config feat(FileTable): 添加全选功能和选择状态指示器 2026-01-06 19:32:27 +08:00
knowledge feat: 重构知识库文件处理流程,支持分阶段处理【!important】 2026-01-04 21:35:25 +08:00
models fix(embedding): 修复ollama model 不起作用的 bug,并修复model info 由于 getattr 不生效的 bug # 361 2025-12-03 18:28:31 +08:00
plugins docs: 更新文档解析超时时间默认值为1800秒 2026-01-01 22:20:11 +08:00
services fix(security): 防止路径遍历攻击通过使用basename处理task_id 2026-01-02 22:53:15 +08:00
storage feat(security): 对于图谱文件上传,添加从MinIO URL下载文件的临时文件上下文管理器 2026-01-02 22:52:33 +08:00
utils fix(logging): 移除lightrag中的重复日志配置并增强日志线程安全 2026-01-01 23:39:24 +08:00
__init__.py feat: 更新环境变量配置路径 2025-10-10 18:07:06 +08:00