mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Update vertex.md
This change fixes the name of the tool in the documentation.
This commit is contained in:
parent
44264ab6d6
commit
de7bbd059d
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ client = OpenAI(
|
||||||
response = client.chat.completions.create(
|
response = client.chat.completions.create(
|
||||||
model="gemini-pro",
|
model="gemini-pro",
|
||||||
messages=[{"role": "user", "content": "Who won the world cup?"}],
|
messages=[{"role": "user", "content": "Who won the world cup?"}],
|
||||||
tools=[{"googleSearchRetrieval": {}}],
|
tools=[{"googleSearch": {}}],
|
||||||
)
|
)
|
||||||
|
|
||||||
print(response)
|
print(response)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue