mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(vertex_ai.py): fix output parsing
This commit is contained in:
parent
3a9c828437
commit
f12dc5df21
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