Update vertex.md

This change fixes the name of the tool in the documentation.
This commit is contained in:
Abi Ullattil 2025-04-22 15:42:02 -07:00 committed by GitHub
parent 44264ab6d6
commit de7bbd059d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -391,7 +391,7 @@ client = OpenAI(
response = client.chat.completions.create(
model="gemini-pro",
messages=[{"role": "user", "content": "Who won the world cup?"}],
tools=[{"googleSearchRetrieval": {}}],
tools=[{"googleSearch": {}}],
)
print(response)