forked from phoenix/litellm-mirror
fix(utils.py): fix model name checking
This commit is contained in:
parent
c333216f6e
commit
8d2d51b625
3 changed files with 21 additions and 5 deletions
|
@ -753,6 +753,7 @@ class OpenAIChatCompletion(BaseLLM):
|
|||
# return response
|
||||
return convert_to_model_response_object(response_object=response, model_response_object=model_response, response_type="image_generation") # type: ignore
|
||||
except OpenAIError as e:
|
||||
|
||||
exception_mapping_worked = True
|
||||
## LOGGING
|
||||
logging_obj.post_call(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue