mbxai 0.8.0__tar.gz → 0.8.1__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.
@@ -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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "mbxai"
7
- version = "0.8.0"
7
+ version = "0.8.1"
8
8
  authors = [
9
9
  { name = "MBX AI" }
10
10
  ]
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="mbxai",
5
- version="0.8.0",
5
+ version="0.8.1",
6
6
  author="MBX AI",
7
7
  description="MBX AI SDK",
8
8
  long_description=open("README.md").read(),
@@ -2,4 +2,4 @@
2
2
  MBX AI package.
3
3
  """
4
4
 
5
- __version__ = "0.8.0"
5
+ __version__ = "0.8.1"
@@ -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
@@ -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
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