Spaces:
Running
Running
Fix: updated variable name under Gemini remote client
Browse filesFix: updated variable name under Gemini remote client to match previous example, in order to work, the rest of the code is the same as above.
docs/integrations/gemini.mdx
CHANGED
|
@@ -98,7 +98,7 @@ For example, to connect to a remote, authenticated server, you can use the follo
|
|
| 98 |
from fastmcp import Client
|
| 99 |
from fastmcp.client.auth import BearerAuth
|
| 100 |
|
| 101 |
-
|
| 102 |
"https://my-server.com/sse",
|
| 103 |
auth=BearerAuth("<your-token>"),
|
| 104 |
)
|
|
|
|
| 98 |
from fastmcp import Client
|
| 99 |
from fastmcp.client.auth import BearerAuth
|
| 100 |
|
| 101 |
+
mcp_client = Client(
|
| 102 |
"https://my-server.com/sse",
|
| 103 |
auth=BearerAuth("<your-token>"),
|
| 104 |
)
|