mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
further fixes to together ai streaming
This commit is contained in:
parent
320fe89a24
commit
345a8888e9
6 changed files with 39 additions and 21 deletions
|
@ -98,6 +98,7 @@ def completion(
|
|||
if fallbacks != []:
|
||||
return completion_with_fallbacks(**args)
|
||||
if litellm.model_alias_map and model in litellm.model_alias_map:
|
||||
args["model_alias_map"] = litellm.model_alias_map
|
||||
model = litellm.model_alias_map[model] # update the model to the actual value if an alias has been passed in
|
||||
model_response = ModelResponse()
|
||||
if azure: # this flag is deprecated, remove once notebooks are also updated.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue