mbxai 0.8.0__py3-none-any.whl → 0.8.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__ = "0.8.0"
5
+ __version__ = "0.8.1"
mbxai/mcp/client.py CHANGED
@@ -60,7 +60,7 @@ class MCPClient(ToolClient):
60
60
 
61
61
  def _create_tool_function(self, tool: MCPTool) -> Callable[..., Any]:
62
62
  """Create a function that invokes an MCP tool."""
63
- async def tool_function(**kwargs: Any) -> Any:
63
+ def tool_function(**kwargs: Any) -> Any:
64
64
  # If kwargs has input wrapper, unwrap it
65
65
  if "input" in kwargs:
66
66
  kwargs = kwargs["input"]
@@ -75,7 +75,7 @@ class MCPClient(ToolClient):
75
75
  url = f"{server_url}/tools/{tool.name}/invoke"
76
76
 
77
77
  # Make the HTTP request to the tool's URL
78
- response = await self._http_client.post(
78
+ response = self._http_client.post(
79
79
  url,
80
80
  json={"input": kwargs} if tool.strict else kwargs,
81
81
  timeout=300.0 # 5 minutes timeout
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="0.8.0",
34
+ version="0.8.1",
35
35
  )
36
36
 
37
37
  # Initialize MCP server
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mbxai
3
- Version: 0.8.0
3
+ Version: 0.8.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,13 +1,13 @@
1
- mbxai/__init__.py,sha256=3ljCLa8XDn3XjVIZkyCOi5pgS_0Fr2GEkziz7LY6Hrc,47
1
+ mbxai/__init__.py,sha256=O1u_IRIkFRKV_NhZnRm65giLILFptqYEhVvTRZqSpuE,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
5
5
  mbxai/examples/parse_tool_example.py,sha256=duHN8scI9ZK6XZ5hdiz1Adzyc-_7tH9Ls9qP4S0bf5s,5477
6
6
  mbxai/examples/tool_client_example.py,sha256=9DNaejXLA85dPbExMiv5y76qlFhzOJF9E5EnMOsy_Dc,3993
7
7
  mbxai/mcp/__init__.py,sha256=_ek9iYdYqW5saKetj4qDci11jxesQDiHPJRpHMKkxgU,175
8
- mbxai/mcp/client.py,sha256=m3FBMqewv6b8ZJ7V9TnHqHxJ3acHDQDHvbuYhweI9-g,5283
8
+ mbxai/mcp/client.py,sha256=3h6L9NCw5DpoRhB0QOFcaoWIhnmLvyI5TDUU_SOLEbY,5271
9
9
  mbxai/mcp/example.py,sha256=oaol7AvvZnX86JWNz64KvPjab5gg1VjVN3G8eFSzuaE,2350
10
- mbxai/mcp/server.py,sha256=ZeN9Q6AMwF0eFg_n8Uu-nz0B7eO7jFomUwiWe8VrxHo,3462
10
+ mbxai/mcp/server.py,sha256=5qJ7oR_a4zG50PrpecDLonWOS5dkNZ59onMjwwsrWzQ,3462
11
11
  mbxai/openrouter/__init__.py,sha256=Ito9Qp_B6q-RLGAQcYyTJVWwR2YAZvNqE-HIYXxhtD8,298
12
12
  mbxai/openrouter/client.py,sha256=GhjyQ5YPDkUsOqlHF0ufkhDtU6g00hLAA5r7qKFU9co,10971
13
13
  mbxai/openrouter/config.py,sha256=Ia93s-auim9Sq71eunVDbn9ET5xX2zusXpV4JBdHAzs,3251
@@ -16,7 +16,7 @@ mbxai/tools/__init__.py,sha256=ogxrHvgJ7OR62Lmd5x9Eh5d2C0jqWyQis7Zy3yKpZ78,218
16
16
  mbxai/tools/client.py,sha256=h_1fxVDBq57f_OXNsj-TBp6-r367sv6Z5nk1qLFcLO8,14951
17
17
  mbxai/tools/example.py,sha256=1HgKK39zzUuwFbnp3f0ThyWVfA_8P28PZcTwaUw5K78,2232
18
18
  mbxai/tools/types.py,sha256=PEJ2AxBqywbJCp689QZhG87rDHWNuKGnmB5CCQsAMlw,5251
19
- mbxai-0.8.0.dist-info/METADATA,sha256=GEPKzzsNonL8Ynf237ZsaMBzSBNA018rCw8zfOXdCMU,4147
20
- mbxai-0.8.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
21
- mbxai-0.8.0.dist-info/licenses/LICENSE,sha256=hEyhc4FxwYo3NQ40yNgZ7STqwVk-1_XcTXOnAPbGJAw,1069
22
- mbxai-0.8.0.dist-info/RECORD,,
19
+ mbxai-0.8.1.dist-info/METADATA,sha256=vgm0m08iBpmPhI7IjyKOo3YyXYKWgPwfNIV3RC-TRxU,4147
20
+ mbxai-0.8.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
21
+ mbxai-0.8.1.dist-info/licenses/LICENSE,sha256=hEyhc4FxwYo3NQ40yNgZ7STqwVk-1_XcTXOnAPbGJAw,1069
22
+ mbxai-0.8.1.dist-info/RECORD,,
File without changes