mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 21:44:18 +02:00
Merge pull request #734 from yrangana/main
Docs : fix client to mcp_client in Gemini example
This commit is contained in:
commit
1d80a50b72
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ mcp_client = Client("server.py")
|
|||
gemini_client = genai.Client()
|
||||
|
||||
async def main():
|
||||
async with client:
|
||||
async with mcp_client:
|
||||
response = await gemini_client.aio.models.generate_content(
|
||||
model="gemini-2.0-flash",
|
||||
contents="Roll 3 dice!",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue