mbxai 0.5.21__py3-none-any.whl → 0.5.22__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mbxai/__init__.py +1 -1
- mbxai/mcp/client.py +13 -1
- mbxai/mcp/server.py +1 -1
- {mbxai-0.5.21.dist-info → mbxai-0.5.22.dist-info}/METADATA +1 -1
- {mbxai-0.5.21.dist-info → mbxai-0.5.22.dist-info}/RECORD +7 -7
- {mbxai-0.5.21.dist-info → mbxai-0.5.22.dist-info}/WHEEL +0 -0
- {mbxai-0.5.21.dist-info → mbxai-0.5.22.dist-info}/licenses/LICENSE +0 -0
mbxai/__init__.py
CHANGED
mbxai/mcp/client.py
CHANGED
@@ -93,7 +93,19 @@ class MCPClient(ToolClient):
|
|
93
93
|
json={"input": kwargs} if tool.strict else kwargs,
|
94
94
|
timeout=300.0 # 5 minutes timeout
|
95
95
|
)
|
96
|
-
|
96
|
+
|
97
|
+
# Log response details for debugging
|
98
|
+
logger.info(f"Tool {tool.name} response status: {response.status_code}")
|
99
|
+
logger.info(f"Tool {tool.name} response headers: {response.headers}")
|
100
|
+
|
101
|
+
try:
|
102
|
+
result = response.json()
|
103
|
+
logger.info(f"Tool {tool.name} response parsed successfully")
|
104
|
+
return result
|
105
|
+
except Exception as e:
|
106
|
+
logger.error(f"Failed to parse tool {tool.name} response: {str(e)}")
|
107
|
+
logger.error(f"Response content: {response.text[:1000]}...") # Log first 1000 chars
|
108
|
+
raise
|
97
109
|
|
98
110
|
return tool_function
|
99
111
|
|
mbxai/mcp/server.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
mbxai/__init__.py,sha256=
|
1
|
+
mbxai/__init__.py,sha256=Y0TOlMhMNWJBWpYsqp-fuKo6LuQ2nlSRQ9Q4CfNQ1mM,48
|
2
2
|
mbxai/core.py,sha256=WMvmU9TTa7M_m-qWsUew4xH8Ul6xseCZ2iBCXJTW-Bs,196
|
3
3
|
mbxai/mcp/__init__.py,sha256=_ek9iYdYqW5saKetj4qDci11jxesQDiHPJRpHMKkxgU,175
|
4
|
-
mbxai/mcp/client.py,sha256=
|
4
|
+
mbxai/mcp/client.py,sha256=B8ZpH-uecmTCgoDw65LwwVxsFWVoX-08t5ff0hOEPXk,6011
|
5
5
|
mbxai/mcp/example.py,sha256=oaol7AvvZnX86JWNz64KvPjab5gg1VjVN3G8eFSzuaE,2350
|
6
|
-
mbxai/mcp/server.py,sha256=
|
6
|
+
mbxai/mcp/server.py,sha256=xtialyKJMkHnggu26AseV0BfCzY36xQgQ7DxcOYeLXM,3463
|
7
7
|
mbxai/openrouter/__init__.py,sha256=Ito9Qp_B6q-RLGAQcYyTJVWwR2YAZvNqE-HIYXxhtD8,298
|
8
8
|
mbxai/openrouter/client.py,sha256=XLRMRNRJH96Jl6_af0KkzRDdLJnixh8I3RvEEcFuXyg,10840
|
9
9
|
mbxai/openrouter/config.py,sha256=MTX_YHsFrM7JYqovJSkEF6JzVyIdajeI5Dja2CALH58,2874
|
@@ -12,7 +12,7 @@ mbxai/tools/__init__.py,sha256=QUFaXhDm-UKcuAtT1rbKzhBkvyRBVokcQIOf9cxIuwc,160
|
|
12
12
|
mbxai/tools/client.py,sha256=t7rdITqgCbDXQPFOZhGj6VDDPAwqdilJMKPfCOcJaFo,17279
|
13
13
|
mbxai/tools/example.py,sha256=1HgKK39zzUuwFbnp3f0ThyWVfA_8P28PZcTwaUw5K78,2232
|
14
14
|
mbxai/tools/types.py,sha256=fo5t9UbsHGynhA88vD_ecgDqL8iLvt2E1h1ym43Rrgk,745
|
15
|
-
mbxai-0.5.
|
16
|
-
mbxai-0.5.
|
17
|
-
mbxai-0.5.
|
18
|
-
mbxai-0.5.
|
15
|
+
mbxai-0.5.22.dist-info/METADATA,sha256=aIlB2mJ22tPjTPwU5CsUYXkr9_R4pe0xCKXfe54KotY,4108
|
16
|
+
mbxai-0.5.22.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
17
|
+
mbxai-0.5.22.dist-info/licenses/LICENSE,sha256=hEyhc4FxwYo3NQ40yNgZ7STqwVk-1_XcTXOnAPbGJAw,1069
|
18
|
+
mbxai-0.5.22.dist-info/RECORD,,
|
File without changes
|
File without changes
|