mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 05:24:18 +02:00
Update src/fastmcp/server/proxy.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
0a29d59813
commit
4bb3503b63
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class FastMCPProxy(FastMCP):
|
|||
|
||||
async with self.client:
|
||||
try:
|
||||
client_tools =await self.client.list_tools()
|
||||
client_tools = await self.client.list_tools()
|
||||
except McpError as e:
|
||||
if e.error.code == METHOD_NOT_FOUND:
|
||||
client_tools = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue