azure - fix custom logger on post call

This commit is contained in:
Ishaan Jaff 2024-06-27 17:37:02 -07:00
parent 0cd25c250d
commit a012f231b6

View file

@ -1025,7 +1025,7 @@ def completion(
client=client, # pass AsyncAzureOpenAI, AzureOpenAI client
)
if optional_params.get("stream", False) or acompletion == True:
if optional_params.get("stream", False):
## LOGGING
logging.post_call(
input=messages,