deerflow2/tests
Willem Jiang e2ff765460
fix: correct image result format for OpenAI compatibility to fix #632 (#634)
- Change image result type from 'image' to 'image_url' to match OpenAI API expectations
- Wrap image URL in dict structure: {"url": "..."} instead of plain string
- Update SearchResultPostProcessor to handle dict-based image_url during duplicate removal
- Update tests to validate new image format

This fixes the 400 error: Invalid value: 'image'. Supported values are: 'text', 'image_url'...

Co-authored-by: Willem Jiang <143703838+willem-bd@users.noreply.github.com>
2025-10-20 23:14:09 +08:00
..
integration fix: add missing RunnableConfig parameter to human_feedback_node (#629) 2025-10-19 17:35:06 +08:00
unit fix: correct image result format for OpenAI compatibility to fix #632 (#634) 2025-10-20 23:14:09 +08:00
test_state.py feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00