mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix common utils
This commit is contained in:
parent
c1e0cb136e
commit
3458c69eb0
2 changed files with 7 additions and 4 deletions
|
|
@ -346,9 +346,9 @@ class BaseAzureLLM(BaseOpenAILLM):
|
|||
}
|
||||
# init http client + SSL Verification settings
|
||||
if is_async is True:
|
||||
azure_client_params["http_client"] = self._get_async_http_client
|
||||
azure_client_params["http_client"] = self._get_async_http_client()
|
||||
else:
|
||||
azure_client_params["http_client"] = self._get_sync_http_client
|
||||
azure_client_params["http_client"] = self._get_sync_http_client()
|
||||
|
||||
if max_retries is not None:
|
||||
azure_client_params["max_retries"] = max_retries
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
model_list:
|
||||
- model_name: gpt-4o
|
||||
- model_name: gpt-3.5-turbo-end-user-test
|
||||
litellm_params:
|
||||
model: gpt-4o
|
||||
model: azure/chatgpt-v-2
|
||||
api_base: https://openai-gpt-4-test-v-1.openai.azure.com/
|
||||
api_version: "2023-05-15"
|
||||
api_key: os.environ/AZURE_API_KEY
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue