fix(vertex_anthropic.py): Updates the vertex anthropic endpoint to do tool calling with the anthropic api params

This commit is contained in:
Krrish Dholakia 2024-07-03 15:28:31 -07:00
parent 3d61a316cb
commit 7007ace6c2
6 changed files with 139 additions and 38 deletions

View file

@ -2008,6 +2008,8 @@ def completion(
vertex_credentials=vertex_credentials,
logging_obj=logging,
acompletion=acompletion,
headers=headers,
custom_prompt_dict=custom_prompt_dict,
)
else:
model_response = vertex_ai.completion(