mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(perf) use aiohttp
for custom_openai
(#7514)
* use aiohttp handler * BaseLLMAIOHTTPHandler * use CustomOpenAIChatConfig * CustomOpenAIChatConfig * CustomOpenAIChatConfig * fix linting * AiohttpOpenAIChatConfig * fix order * aiohttp_openai
This commit is contained in:
parent
4d93fe787b
commit
d861aa8ff3
8 changed files with 519 additions and 29 deletions
|
@ -6147,6 +6147,8 @@ class ProviderConfigManager:
|
|||
or litellm.LlmProviders.LITELLM_PROXY == provider
|
||||
):
|
||||
return litellm.OpenAILikeChatConfig()
|
||||
elif litellm.LlmProviders.AIOHTTP_OPENAI == provider:
|
||||
return litellm.AiohttpOpenAIChatConfig()
|
||||
elif litellm.LlmProviders.HOSTED_VLLM == provider:
|
||||
return litellm.HostedVLLMChatConfig()
|
||||
elif litellm.LlmProviders.LM_STUDIO == provider:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue