mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fixing azure bug
This commit is contained in:
parent
bfbab563f8
commit
a156fa1e1f
4 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -153,7 +153,7 @@ def completion(
|
||||||
# set key
|
# set key
|
||||||
openai.api_key = api_key
|
openai.api_key = api_key
|
||||||
## LOGGING
|
## LOGGING
|
||||||
logging.pre_call(input=messages, api_key=openai.api_key, additional_args={"headers": litellm.headers, "api_version": openai.api_version, "api_base": openai.api_base})
|
logging.pre_call(input=messages, api_key=openai.api_key, additional_args={"litellm.headers": litellm.headers, "api_version": openai.api_version, "api_base": openai.api_base})
|
||||||
## COMPLETION CALL
|
## COMPLETION CALL
|
||||||
if litellm.headers:
|
if litellm.headers:
|
||||||
response = openai.ChatCompletion.create(
|
response = openai.ChatCompletion.create(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue