Skip to content

Realtime API - Set 'headers' in scope for websocket auth requests + reliability fix infinite loop when model_name not found for realtime models #10679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 9, 2025

Conversation

krrishdholakia
Copy link
Contributor

@krrishdholakia krrishdholakia commented May 8, 2025

  • fix(user_api_key_auth.py): add 'headers' to constructed request for websocket

Fix issue on some datastructure versions which require a headers field in scope

  • test(test_user_api_key_auth.py): add unit testing for headers in scope change

  • fix(router.py): migrate _arealtime to generic router endpoint

Fix infinite loop on model name missing for realtime api calls

  • test(test_router_helper_utils.py): cleanup test post refactor

…ebsocket

Fix issue on some datastructure versions which require a headers field in scope
Fix infinite loop on model name missing for realtime api calls
Copy link

vercel bot commented May 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2025 4:56am

@krrishdholakia krrishdholakia changed the title Set 'headers' in scope for websocket auth requests Realtime API - Set 'headers' in scope for websocket auth requests + reliability fix infinite loop when model_name not found for realtime models May 8, 2025
@krrishdholakia krrishdholakia merged commit a1964ea into main May 9, 2025
38 of 45 checks passed
@krrishdholakia krrishdholakia deleted the litellm_dev_05_08_2025_p1 branch May 9, 2025 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant