yihuang Copilot commited on
Commit
fd9bcfe
·
unverified ·
1 Parent(s): 49656bc

Update src/fastmcp/server/proxy.py

Browse files

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Files changed (1) hide show
  1. src/fastmcp/server/proxy.py +1 -1
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 = []