mbxai 1.2.0__py3-none-any.whl → 1.2.1__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 CHANGED
@@ -2,4 +2,4 @@
2
2
  MBX AI package.
3
3
  """
4
4
 
5
- __version__ = "1.2.0"
5
+ __version__ = "1.2.1"
mbxai/mcp/server.py CHANGED
@@ -31,7 +31,7 @@ class MCPServer:
31
31
  self.app = FastAPI(
32
32
  title=self.name,
33
33
  description=self.description,
34
- version="1.2.0",
34
+ version="1.2.1",
35
35
  )
36
36
 
37
37
  # Initialize MCP server
@@ -411,7 +411,7 @@ class OpenRouterClient:
411
411
  # Log the request details
412
412
  logger.info(f"Sending parsed chat completion request to OpenRouter with model: {model or self.model}")
413
413
  logger.info(f"Message count: {len(messages)}")
414
- logger.info(f"Response format: {json.dumps(response_format_param, indent=2)}")
414
+ logger.debug(f"Response format: {json.dumps(response_format_param, indent=2)}")
415
415
 
416
416
  # Calculate total message size for logging
417
417
  total_size = sum(len(str(msg)) for msg in messages)
mbxai/tools/client.py CHANGED
@@ -298,7 +298,7 @@ class ToolClient:
298
298
 
299
299
  while True:
300
300
  # Get the model's response
301
- response = self._client.create_parsed(
301
+ response = self._client.parse(
302
302
  messages=messages,
303
303
  response_format=response_format,
304
304
  model=model,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mbxai
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: MBX AI SDK
5
5
  Project-URL: Homepage, https://www.mibexx.de
6
6
  Project-URL: Documentation, https://www.mibexx.de
@@ -1,4 +1,4 @@
1
- mbxai/__init__.py,sha256=JfbYRtbxrVf4tf03gAoAUdJuD9DAHhCaIHSgPc4Gnss,47
1
+ mbxai/__init__.py,sha256=KE4yp8DdWDOKRCxNPU0fZ1OPkUlbiIAjZZKJxk1aEkY,47
2
2
  mbxai/core.py,sha256=WMvmU9TTa7M_m-qWsUew4xH8Ul6xseCZ2iBCXJTW-Bs,196
3
3
  mbxai/examples/openrouter_example.py,sha256=-grXHKMmFLoh-yUIEMc31n8Gg1S7uSazBWCIOWxgbyQ,1317
4
4
  mbxai/examples/parse_example.py,sha256=eCKMJoOl6qwo8sDP6Trc6ncgjPlgTqi5tPE2kB5_P0k,3821
@@ -12,17 +12,17 @@ mbxai/examples/mcp/mcp_server_example.py,sha256=nFfg22Jnc6HMW_ezLO3So1xwDdx2_rIt
12
12
  mbxai/mcp/__init__.py,sha256=_ek9iYdYqW5saKetj4qDci11jxesQDiHPJRpHMKkxgU,175
13
13
  mbxai/mcp/client.py,sha256=eXIN2ebprNF5UgM1jb-4JkXmc-5toUhtlBNFKVU7FgY,5204
14
14
  mbxai/mcp/example.py,sha256=oaol7AvvZnX86JWNz64KvPjab5gg1VjVN3G8eFSzuaE,2350
15
- mbxai/mcp/server.py,sha256=gB10CpbzibEt2XethhIyVLcfgu9GZXrSqKRcsjHfOug,3454
15
+ mbxai/mcp/server.py,sha256=LGGkZJy8btoccYKx9sn4xXfrjIEBH_64jTtQ9JW9NXQ,3454
16
16
  mbxai/openrouter/__init__.py,sha256=Ito9Qp_B6q-RLGAQcYyTJVWwR2YAZvNqE-HIYXxhtD8,298
17
- mbxai/openrouter/client.py,sha256=P_TBb980EgEORGUz9cMqNAAs3R18EHFYgcE92TNI2bo,19881
17
+ mbxai/openrouter/client.py,sha256=au2VDSoIU6zKd1LIlQ6ObG_YpUK2AaG9bW-fBV2iVgk,19882
18
18
  mbxai/openrouter/config.py,sha256=Ia93s-auim9Sq71eunVDbn9ET5xX2zusXpV4JBdHAzs,3251
19
19
  mbxai/openrouter/models.py,sha256=b3IjjtZAjeGOf2rLsdnCD1HacjTnS8jmv_ZXorc-KJQ,2604
20
20
  mbxai/openrouter/schema.py,sha256=H_77ZrA9zmbX155bWpCJj1jehUyJPS0QybEW1IVAoe0,540
21
21
  mbxai/tools/__init__.py,sha256=ogxrHvgJ7OR62Lmd5x9Eh5d2C0jqWyQis7Zy3yKpZ78,218
22
- mbxai/tools/client.py,sha256=SxXSxvvglbzSaruqm_mebdky8RY2E3hW1VldQbfa0Cw,14914
22
+ mbxai/tools/client.py,sha256=YbQMWMw8c5XPwarT1u6TRgbsqYBJaTsO8j3EyCBoz9g,14906
23
23
  mbxai/tools/example.py,sha256=1HgKK39zzUuwFbnp3f0ThyWVfA_8P28PZcTwaUw5K78,2232
24
24
  mbxai/tools/types.py,sha256=pAoVuL7nKhvL3Iek0JheGfll4clsABFLl1CNjmiG3No,5866
25
- mbxai-1.2.0.dist-info/METADATA,sha256=DFvNZD8bWCBKWSBm3H5wnT1bGnrJagJj9qfJfwgodtY,4147
26
- mbxai-1.2.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
- mbxai-1.2.0.dist-info/licenses/LICENSE,sha256=hEyhc4FxwYo3NQ40yNgZ7STqwVk-1_XcTXOnAPbGJAw,1069
28
- mbxai-1.2.0.dist-info/RECORD,,
25
+ mbxai-1.2.1.dist-info/METADATA,sha256=R2C-QFi8vhLnOb_dtnzN3Zq7aHIZ2iWG0KsojrK-SUE,4147
26
+ mbxai-1.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
+ mbxai-1.2.1.dist-info/licenses/LICENSE,sha256=hEyhc4FxwYo3NQ40yNgZ7STqwVk-1_XcTXOnAPbGJAw,1069
28
+ mbxai-1.2.1.dist-info/RECORD,,
File without changes