mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(feat) set default openrouter configs
This commit is contained in:
parent
c703fb2f2c
commit
b15682bc1f
2 changed files with 12 additions and 1 deletions
|
@ -3962,7 +3962,7 @@ def convert_to_model_response_object(response_object: Optional[dict]=None, model
|
|||
raise Exception("Error in response object format")
|
||||
|
||||
if model_response_object is None:
|
||||
model_response_object = EmbeddingResponse()
|
||||
model_response_object = ImageResponse()
|
||||
|
||||
if "created" in response_object:
|
||||
model_response_object.created = response_object["created"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue