litellm/tests/unit/llms/openai
devin-ai-integration[bot] fe910889f7
fix(responses): drop bridge-minted reasoning items from OpenAI replays (#44132)
* fix(responses): drop bridge-minted reasoning items from OpenAI replays

* fix(responses): send id-less stored reasoning items without a made-up id

The chat-to-Responses bridge gave a stored reasoning item with no id an rs_<n> id that OpenAI rejects (404 without encrypted content, 400 with it); an id-less item is accepted and verified by OpenAI itself. Decoding encrypted_content now keeps the verifiable thinking blocks of a mixed array instead of rejecting the whole array, and the verifiable-block rule lives in the shared module.

* test(integration): audit minted reasoning item replay across responses, chat bridge and messages

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-10-02 19:39:48 -07:00
..
chat fix(streaming): keep the served service_tier on streamed chunks and spend rows (#42870) 2026-09-29 12:54:17 -07:00
completion
embeddings
evals
image_generation
realtime
responses fix(responses): drop bridge-minted reasoning items from OpenAI replays (#44132) 2026-10-02 19:39:48 -07:00
speech
transcriptions
vector_store_files
vector_stores
videos
__init__.py
test_cost_calculation.py
test_data_residency.py
test_gpt5_transformation.py
test_is_model_gpt_5_model.py fix(openai): exclude fine-tuned and custom gpt-5-chat aliases from gpt-5 reasoning path (#43185) 2026-09-26 16:09:09 -07:00
test_o_series_transformation.py
test_openai.py
test_openai_common_utils.py
test_openai_empty_response.py
test_openai_file_content_streaming.py
test_openai_image_edit_transformation.py
test_openai_workload_identity.py
test_organization_costs.py
test_use_chat_completions_api_no_leak.py