Entz commited on
Commit
e4fb1cc
·
verified ·
1 Parent(s): 48b28db

Upload backend.py

Browse files
Files changed (1) hide show
  1. 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": "streamable-http",
179
  },
180
  "stocks": {
181
  "url": "http://localhost:8002/mcp",
182
- "transport": "streamable-http",
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
  )