- 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>
|
||
|---|---|---|
| .. | ||
| checkpoint | ||
| config | ||
| crawler | ||
| graph | ||
| llms | ||
| prompt_enhancer | ||
| rag | ||
| server | ||
| tools | ||
| utils | ||