Spaces:
Running
Running
yihuang Copilot commited on
Update src/fastmcp/server/proxy.py
Browse filesCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
src/fastmcp/server/proxy.py
CHANGED
|
@@ -176,7 +176,7 @@ class FastMCPProxy(FastMCP):
|
|
| 176 |
|
| 177 |
async with self.client:
|
| 178 |
try:
|
| 179 |
-
client_tools =await self.client.list_tools()
|
| 180 |
except McpError as e:
|
| 181 |
if e.error.code == METHOD_NOT_FOUND:
|
| 182 |
client_tools = []
|
|
|
|
| 176 |
|
| 177 |
async with self.client:
|
| 178 |
try:
|
| 179 |
+
client_tools = await self.client.list_tools()
|
| 180 |
except McpError as e:
|
| 181 |
if e.error.code == METHOD_NOT_FOUND:
|
| 182 |
client_tools = []
|