Spaces:
Runtime error
Runtime error
Eddyhzd
commited on
Commit
·
5c16325
1
Parent(s):
c13b47c
test
Browse files
app.py
CHANGED
|
@@ -58,6 +58,7 @@ class MCPClientWrapper:
|
|
| 58 |
clientMCP = MCPClientWrapper()
|
| 59 |
clientMCP.connect("mcp_server.py")
|
| 60 |
print(f"Connected to MCP server. Available tools: {', '.join([tool['name'] for tool in clientMCP.tools])}")
|
|
|
|
| 61 |
|
| 62 |
# Chatbot : simple écho Fonction chatbot reliée à Mistral
|
| 63 |
def chatbot(message, history):
|
|
|
|
| 58 |
clientMCP = MCPClientWrapper()
|
| 59 |
clientMCP.connect("mcp_server.py")
|
| 60 |
print(f"Connected to MCP server. Available tools: {', '.join([tool['name'] for tool in clientMCP.tools])}")
|
| 61 |
+
print(clientMCP.tools)
|
| 62 |
|
| 63 |
# Chatbot : simple écho Fonction chatbot reliée à Mistral
|
| 64 |
def chatbot(message, history):
|