mbxai 0.7.1__tar.gz → 0.7.3__tar.gz
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-0.7.1 → mbxai-0.7.3}/PKG-INFO +1 -1
- {mbxai-0.7.1 → mbxai-0.7.3}/pyproject.toml +1 -1
- {mbxai-0.7.1 → mbxai-0.7.3}/setup.py +1 -1
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/__init__.py +1 -1
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/mcp/server.py +1 -1
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/openrouter/client.py +4 -2
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/tools/client.py +2 -2
- {mbxai-0.7.1 → mbxai-0.7.3}/.gitignore +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/LICENSE +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/README.md +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/core.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/mcp/__init__.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/mcp/client.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/mcp/example.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/openrouter/__init__.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/openrouter/config.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/openrouter/models.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/tools/__init__.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/tools/example.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/src/mbxai/tools/types.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/tests/test_core.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/tests/test_mcp.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/tests/test_openrouter.py +0 -0
- {mbxai-0.7.1 → mbxai-0.7.3}/tests/test_tools.py +0 -0
@@ -214,10 +214,12 @@ class OpenRouterClient:
|
|
214
214
|
|
215
215
|
# Log response details
|
216
216
|
logger.info("Received response from OpenRouter")
|
217
|
+
# Log the actual response content
|
218
|
+
logger.info(f"Response content: {response}")
|
217
219
|
if hasattr(response, 'output'):
|
218
220
|
logger.info(f"Response output length: {len(response.output) if response.output else 0}")
|
219
|
-
if hasattr(response, '
|
220
|
-
logger.info(f"Response
|
221
|
+
if hasattr(response, 'output_text'):
|
222
|
+
logger.info(f"Response output_text length: {len(response.output_text) if response.output_text else 0}")
|
221
223
|
|
222
224
|
return response
|
223
225
|
|
@@ -224,7 +224,7 @@ class ToolClient:
|
|
224
224
|
return response
|
225
225
|
|
226
226
|
# Parse the response output
|
227
|
-
output = response.output
|
227
|
+
output = response.output if response.output else response.output_text
|
228
228
|
|
229
229
|
# Get all function calls from the output
|
230
230
|
tool_calls = []
|
@@ -286,7 +286,7 @@ class ToolClient:
|
|
286
286
|
# Continue the conversation after processing all calls
|
287
287
|
continue
|
288
288
|
else:
|
289
|
-
logger.info("
|
289
|
+
logger.info("Final response")
|
290
290
|
return response
|
291
291
|
|
292
292
|
async def parse(
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|