deerflow2/backend/src/agents/lead_agent
hetao b0da9638b8 feat: optimize vision tools and image handling
- Add model-aware vision tool loading based on supports_vision flag
- Move view_image_tool from config to builtin tools for dynamic inclusion
- Add timeout to image search to prevent hanging requests
- Optimize image search results format using thumbnails
- Add image validation for reference images in generation
- Improve error handling with detailed messages

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-29 14:57:26 +08:00
..
__init__.py feat: support function factory (#4) 2026-01-15 22:05:54 +08:00
agent.py feat: optimize vision tools and image handling 2026-01-29 14:57:26 +08:00
prompt.py merge: upstream/experimental with citations feature 2026-01-29 12:55:43 +08:00