bstraehle commited on
Commit
d0ee88b
·
verified ·
1 Parent(s): d140e4e

Update agents/mcp/mcp_client.py

Browse files
Files changed (1) hide show
  1. agents/mcp/mcp_client.py +1 -3
agents/mcp/mcp_client.py CHANGED
@@ -8,9 +8,7 @@ from mcp.client.session import ClientSession, DEFAULT_CLIENT_INFO
8
 
9
  # Chess position evaluation
10
 
11
- SPACE_CREATOR_USER_ID = os.getenv("SPACE_CREATOR_USER_ID", "bstraehle")
12
-
13
- MCP_SSE_URL_CHESS_POSITION_EVALUATION = f"https://{SPACE_CREATOR_USER_ID}-chess.hf.space/gradio_api/mcp/sse"
14
  MCP_TOOL_CHESS_POSITION_EVALUATION = "chess_position_evaluation"
15
 
16
  async def call_mcp_tool_async(mcp_url: str, tool_name: str, arguments: dict, timeout: int = 5) -> str:
 
8
 
9
  # Chess position evaluation
10
 
11
+ MCP_SSE_URL_CHESS_POSITION_EVALUATION = f"https://bstraehle-chess.hf.space/gradio_api/mcp/sse"
 
 
12
  MCP_TOOL_CHESS_POSITION_EVALUATION = "chess_position_evaluation"
13
 
14
  async def call_mcp_tool_async(mcp_url: str, tool_name: str, arguments: dict, timeout: int = 5) -> str: