_normalise_responses_input builds a role="tool" ChatMessage straight from item.output. When a function_call_output carries an empty/falsy output (e.g. an image-only result whose payload lives outside the output field), content becomes "" and ChatMessage._validate_role_shape raises the non-empty-content error, surfacing as a 500 on /v1/responses. Substitute a placeholder so the turn normalises gracefully. Fixes #6047 |
||
|---|---|---|
| .. | ||
| data_recipe | ||
| .gitkeep | ||
| __init__.py | ||
| auth.py | ||
| datasets.py | ||
| export.py | ||
| inference.py | ||
| models.py | ||
| training.py | ||
| training_history.py | ||