Update agents/tools/mcp_tools.py
Browse files
agents/tools/mcp_tools.py
CHANGED
|
@@ -23,7 +23,7 @@ class MCPTools():
|
|
| 23 |
RuntimeError: If processing fails
|
| 24 |
|
| 25 |
"""
|
| 26 |
-
print(f"🤖 get_best_move_tool: {fen}")
|
| 27 |
|
| 28 |
try:
|
| 29 |
mcp_url = os.getenv("MCP_SSE_URL", MCP_SSE_URL_CHESS_POSITION_EVALUATION)
|
|
@@ -34,7 +34,7 @@ class MCPTools():
|
|
| 34 |
arguments={"fen": fen}
|
| 35 |
)
|
| 36 |
|
| 37 |
-
print(f"🤖
|
| 38 |
|
| 39 |
return evaluation
|
| 40 |
except Exception as e:
|
|
|
|
| 23 |
RuntimeError: If processing fails
|
| 24 |
|
| 25 |
"""
|
| 26 |
+
print(f"🤖 MCPTools: get_best_move_tool: fen={fen}")
|
| 27 |
|
| 28 |
try:
|
| 29 |
mcp_url = os.getenv("MCP_SSE_URL", MCP_SSE_URL_CHESS_POSITION_EVALUATION)
|
|
|
|
| 34 |
arguments={"fen": fen}
|
| 35 |
)
|
| 36 |
|
| 37 |
+
print(f"🤖 Result: {evaluation}")
|
| 38 |
|
| 39 |
return evaluation
|
| 40 |
except Exception as e:
|