mbxai 1.0.10__tar.gz → 1.0.11__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-1.0.10 → mbxai-1.0.11}/PKG-INFO +1 -1
- {mbxai-1.0.10 → mbxai-1.0.11}/pyproject.toml +1 -1
- {mbxai-1.0.10 → mbxai-1.0.11}/setup.py +1 -1
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/__init__.py +1 -1
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/mcp/server.py +1 -1
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/openrouter/client.py +2 -3
- {mbxai-1.0.10 → mbxai-1.0.11}/.gitignore +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/LICENSE +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/README.md +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/core.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/examples/mcp/mcp_client_example.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/examples/mcp/mcp_server_example.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/examples/openrouter_example.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/examples/parse_example.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/examples/parse_tool_example.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/examples/tool_client_example.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/mcp/__init__.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/mcp/client.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/mcp/example.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/openrouter/__init__.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/openrouter/config.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/openrouter/models.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/tools/__init__.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/tools/client.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/tools/example.py +0 -0
- {mbxai-1.0.10 → mbxai-1.0.11}/src/mbxai/tools/types.py +0 -0
@@ -11,6 +11,7 @@ import time
|
|
11
11
|
import asyncio
|
12
12
|
import traceback
|
13
13
|
from functools import wraps
|
14
|
+
import json
|
14
15
|
|
15
16
|
logger = logging.getLogger(__name__)
|
16
17
|
|
@@ -355,11 +356,9 @@ class OpenRouterClient:
|
|
355
356
|
except Exception as e:
|
356
357
|
stack_trace = traceback.format_exc()
|
357
358
|
logger.error(f"Raising error: {e}")
|
358
|
-
logger.error(f"Full request from ERROR
|
359
|
+
logger.error(f"Full request from ERROR:\n{json.dumps(request, indent=2)}")
|
359
360
|
logger.error(f"Error in parse completion: {str(e)}")
|
360
361
|
logger.error(f"Stack trace:\n{stack_trace}")
|
361
|
-
logger.error(f"Request details: model={model or self.model}, response_format={response_format}, kwargs={kwargs}")
|
362
|
-
logger.error(f"Message structure: {[{'role': msg.get('role'), 'content_length': len(str(msg.get('content', '')))} for msg in messages]}")
|
363
362
|
|
364
363
|
if hasattr(e, 'response') and e.response is not None:
|
365
364
|
logger.error(f"Response status: {e.response.status_code}")
|
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
|
File without changes
|
File without changes
|
File without changes
|