forked from phoenix/litellm-mirror
fixing azure bug
This commit is contained in:
parent
7f3b90db3c
commit
b506e147cf
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