mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
* Enhance error handling in OpenAIResponsesAPIConfig to coalesce null error codes into a default string, preventing validation errors and improving stability during streaming iterations. * Add test for coalescing null error codes in streaming responses This test ensures that when a streaming error event has error.code set to None, the system correctly transforms it to 'unknown_error' and returns an ErrorEvent instance without raising a ValidationError. --------- Co-authored-by: Ku Wei Chiet <chietkuw@fpt.com> |
||
|---|---|---|
| .. | ||
| completion | ||
| image_generation | ||
| realtime | ||
| responses | ||
| speech | ||
| transcriptions | ||
| vector_store_files | ||
| vector_stores | ||
| test_gpt5_transformation.py | ||
| test_o_series_transformation.py | ||
| test_openai_common_utils.py | ||
| test_openai_image_edit_transformation.py | ||