litellm/tests/unit/realtime_api
mateo-berri 6517ef7d64 fix(openai): handle SDK 3 error shapes, audio deltas, Azure deployment URLs, and httpx2 token exchange errors
OpenAI SDK 3 sends HTTP through httpx2, rejects an empty api_key, and ships new
Responses error codes and types. This maps the new error codes and the SDK 3
missing-credentials message, keeps the raw upstream error code, copies audio
deltas without unset fields, strips operation paths from full Azure deployment
URLs, closes the websocket passthrough cleanly on httpx2 token exchange errors,
and replaces the recursive cause walk with a bounded loop. Tests route the SDK 3
workload identity token exchange through respx and build router clients SDK 3
accepts. The lazy OpenAPI snapshot and dashboard API types are regenerated
2026-10-21 00:07:57 -07:00
..
__init__.py test: add __init__.py to new tests/unit packages 2026-09-20 12:36:13 +00:00
test_main.py fix(openai): handle SDK 3 error shapes, audio deltas, Azure deployment URLs, and httpx2 token exchange errors 2026-10-21 00:07:57 -07:00