mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
fix(realtime): limit ChatGPT header access to its provider
This commit is contained in:
parent
2190dc9225
commit
7d39e9802e
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ async def _arealtime(
|
|||
ProviderConfigManager.get_provider_realtime_handler(
|
||||
LlmProviders(_custom_llm_provider), litellm_params, websocket.headers, headers
|
||||
)
|
||||
if _custom_llm_provider in LlmProviders._member_map_.values()
|
||||
if _custom_llm_provider == LlmProviders.CHATGPT
|
||||
else None
|
||||
)
|
||||
if provider_handler is not None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue