Spaces:
Sleeping
Sleeping
Upload backend.py
Browse files- backend.py +2 -2
backend.py
CHANGED
@@ -175,11 +175,11 @@ class MCPAgent:
|
|
175 |
self.client = MultiServerMCPClient({
|
176 |
"arithmetic": {
|
177 |
"url": "http://localhost:8001/mcp",
|
178 |
-
"transport": "
|
179 |
},
|
180 |
"stocks": {
|
181 |
"url": "http://localhost:8002/mcp",
|
182 |
-
"transport": "
|
183 |
},
|
184 |
}
|
185 |
)
|
|
|
175 |
self.client = MultiServerMCPClient({
|
176 |
"arithmetic": {
|
177 |
"url": "http://localhost:8001/mcp",
|
178 |
+
"transport": "streamable_http", # Change to underscore
|
179 |
},
|
180 |
"stocks": {
|
181 |
"url": "http://localhost:8002/mcp",
|
182 |
+
"transport": "streamable_http", # Change to underscore
|
183 |
},
|
184 |
}
|
185 |
)
|