mbxai 1.0.4__tar.gz → 1.0.5__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.4 → mbxai-1.0.5}/PKG-INFO +1 -1
- {mbxai-1.0.4 → mbxai-1.0.5}/pyproject.toml +2 -2
- {mbxai-1.0.4 → mbxai-1.0.5}/setup.py +1 -1
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/__init__.py +1 -1
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/mcp/server.py +1 -1
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/openrouter/client.py +2 -1
- {mbxai-1.0.4 → mbxai-1.0.5}/.gitignore +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/LICENSE +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/README.md +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/core.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/examples/mcp/mcp_client_example.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/examples/mcp/mcp_server_example.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/examples/openrouter_example.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/examples/parse_example.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/examples/parse_tool_example.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/examples/tool_client_example.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/mcp/__init__.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/mcp/client.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/mcp/example.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/openrouter/__init__.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/openrouter/config.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/openrouter/models.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/tools/__init__.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/tools/client.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/tools/example.py +0 -0
- {mbxai-1.0.4 → mbxai-1.0.5}/src/mbxai/tools/types.py +0 -0
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "mbxai"
|
7
|
-
version = "1.0.
|
7
|
+
version = "1.0.5"
|
8
8
|
authors = [
|
9
9
|
{ name = "MBX AI" }
|
10
10
|
]
|
@@ -30,7 +30,7 @@ dependencies = [
|
|
30
30
|
"starlette>=0.46.2",
|
31
31
|
"uvicorn>=0.34.2",
|
32
32
|
"pydantic-settings>=2.9.1",
|
33
|
-
"typing-inspection<=0.4.0"
|
33
|
+
"typing-inspection<=0.4.0",
|
34
34
|
]
|
35
35
|
|
36
36
|
[project.urls]
|
@@ -268,7 +268,7 @@ class OpenRouterClient:
|
|
268
268
|
|
269
269
|
response = self._client.beta.chat.completions.parse(**request)
|
270
270
|
|
271
|
-
logger.debug(f"
|
271
|
+
logger.debug(f"FullResponse: {response}")
|
272
272
|
|
273
273
|
if response is None:
|
274
274
|
logger.error("Received None response from OpenRouter API")
|
@@ -314,6 +314,7 @@ class OpenRouterClient:
|
|
314
314
|
return response
|
315
315
|
|
316
316
|
except Exception as e:
|
317
|
+
logger.debug(f"Raising error: {e}")
|
317
318
|
logger.error(f"Error in parse completion: {str(e)}")
|
318
319
|
logger.error(f"Request details: model={model or self.model}, response_format={response_format}, kwargs={kwargs}")
|
319
320
|
logger.error(f"Message structure: {[{'role': msg.get('role'), 'content_length': len(str(msg.get('content', '')))} for msg in messages]}")
|
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
|