mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-31 06:56:59 +00:00
Update main.py
this is left paras model
This commit is contained in:
parent
31d05147fb
commit
e06c197a0a
1 changed files with 4 additions and 2 deletions
|
|
@ -6274,7 +6274,8 @@ async def aadapter_completion(
|
|||
if isinstance(response, CustomStreamWrapper):
|
||||
translated_response = (
|
||||
translation_obj.translate_completion_output_params_streaming(
|
||||
completion_stream=response
|
||||
completion_stream=response,
|
||||
model=kwargs.get("model", "")
|
||||
)
|
||||
)
|
||||
|
||||
|
|
@ -6325,7 +6326,8 @@ def adapter_completion(
|
|||
elif isinstance(response, CustomStreamWrapper) or inspect.isgenerator(response):
|
||||
translated_response = (
|
||||
translation_obj.translate_completion_output_params_streaming(
|
||||
completion_stream=response
|
||||
completion_stream=response,
|
||||
model=kwargs.get("model", "")
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue