fixing azure bug

This commit is contained in:
Krrish Dholakia 2023-08-21 14:20:29 -07:00
parent 7f3b90db3c
commit b506e147cf
4 changed files with 1 additions and 1 deletions

View file

@ -153,7 +153,7 @@ def completion(
# set key
openai.api_key = api_key
## 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
if litellm.headers:
response = openai.ChatCompletion.create(