mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(vertex_ai.py): fix output parsing
This commit is contained in:
parent
81f82b7104
commit
98c25b08cd
7 changed files with 14 additions and 8 deletions
|
@ -121,7 +121,7 @@ def completion(
|
|||
model_response = text_model.predict_streaming(prompt, **optional_params)
|
||||
return model_response
|
||||
|
||||
completion_response = text_model.predict(prompt, **optional_params)
|
||||
completion_response = text_model.predict(prompt, **optional_params).text
|
||||
|
||||
## LOGGING
|
||||
logging_obj.post_call(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue