mbxai 0.6.20__py3-none-any.whl → 0.6.21__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 +1 -1
- mbxai/mcp/client.py +1 -0
- mbxai/mcp/server.py +1 -1
- mbxai/tools/types.py +1 -1
- {mbxai-0.6.20.dist-info → mbxai-0.6.21.dist-info}/METADATA +1 -1
- {mbxai-0.6.20.dist-info → mbxai-0.6.21.dist-info}/RECORD +8 -8
- {mbxai-0.6.20.dist-info → mbxai-0.6.21.dist-info}/WHEEL +0 -0
- {mbxai-0.6.20.dist-info → mbxai-0.6.21.dist-info}/licenses/LICENSE +0 -0
mbxai/__init__.py
CHANGED
mbxai/mcp/client.py
CHANGED
@@ -20,6 +20,7 @@ class MCPTool(Tool):
|
|
20
20
|
input_schema: dict[str, Any]
|
21
21
|
internal_url: str
|
22
22
|
strict: bool = True
|
23
|
+
function: Callable[..., Any] | None = None # Make function optional during initialization
|
23
24
|
|
24
25
|
def to_openai_function(self) -> dict[str, Any]:
|
25
26
|
"""Convert the tool to an OpenAI function definition."""
|
mbxai/mcp/server.py
CHANGED
mbxai/tools/types.py
CHANGED
@@ -101,7 +101,7 @@ class Tool(BaseModel):
|
|
101
101
|
"""A tool that can be used by the model."""
|
102
102
|
name: str
|
103
103
|
description: str
|
104
|
-
function: Callable[..., Any]
|
104
|
+
function: Callable[..., Any] | None = None # Make function optional
|
105
105
|
schema: dict[str, Any]
|
106
106
|
|
107
107
|
def to_openai_function(self) -> dict[str, Any]:
|
@@ -1,9 +1,9 @@
|
|
1
|
-
mbxai/__init__.py,sha256=
|
1
|
+
mbxai/__init__.py,sha256=hISmW-jAepIDSIwRIsaFvNUcC3Mawr7sjbE69iWnZNI,48
|
2
2
|
mbxai/core.py,sha256=WMvmU9TTa7M_m-qWsUew4xH8Ul6xseCZ2iBCXJTW-Bs,196
|
3
3
|
mbxai/mcp/__init__.py,sha256=_ek9iYdYqW5saKetj4qDci11jxesQDiHPJRpHMKkxgU,175
|
4
|
-
mbxai/mcp/client.py,sha256=
|
4
|
+
mbxai/mcp/client.py,sha256=EtgrKiTsHHeAzmnsYCOJMiu-i-k06kJZqR_L2bz91pw,7843
|
5
5
|
mbxai/mcp/example.py,sha256=oaol7AvvZnX86JWNz64KvPjab5gg1VjVN3G8eFSzuaE,2350
|
6
|
-
mbxai/mcp/server.py,sha256=
|
6
|
+
mbxai/mcp/server.py,sha256=IXTr63ojTR1oI9vnU-f70y6TAUJC1hAK_BhssCX33BE,3463
|
7
7
|
mbxai/openrouter/__init__.py,sha256=Ito9Qp_B6q-RLGAQcYyTJVWwR2YAZvNqE-HIYXxhtD8,298
|
8
8
|
mbxai/openrouter/client.py,sha256=nusxYObyLAMGQd6J9u2uLfkRXyE5kZmdIGdlU-76HPo,13529
|
9
9
|
mbxai/openrouter/config.py,sha256=Ia93s-auim9Sq71eunVDbn9ET5xX2zusXpV4JBdHAzs,3251
|
@@ -11,8 +11,8 @@ mbxai/openrouter/models.py,sha256=b3IjjtZAjeGOf2rLsdnCD1HacjTnS8jmv_ZXorc-KJQ,26
|
|
11
11
|
mbxai/tools/__init__.py,sha256=ogxrHvgJ7OR62Lmd5x9Eh5d2C0jqWyQis7Zy3yKpZ78,218
|
12
12
|
mbxai/tools/client.py,sha256=qOf8MiQ8_flPUNiMioOyjeEaV8rN1EBWb98T8qTC3D4,17582
|
13
13
|
mbxai/tools/example.py,sha256=1HgKK39zzUuwFbnp3f0ThyWVfA_8P28PZcTwaUw5K78,2232
|
14
|
-
mbxai/tools/types.py,sha256=
|
15
|
-
mbxai-0.6.
|
16
|
-
mbxai-0.6.
|
17
|
-
mbxai-0.6.
|
18
|
-
mbxai-0.6.
|
14
|
+
mbxai/tools/types.py,sha256=iJa9hjWZEjZR4OMJj1sfn5RUwdvqadpKY2gE5FhiydQ,4415
|
15
|
+
mbxai-0.6.21.dist-info/METADATA,sha256=_T6wsjS5BliX_lvwpk17RQclJqI7bsADeUbD7Dthcok,4148
|
16
|
+
mbxai-0.6.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
17
|
+
mbxai-0.6.21.dist-info/licenses/LICENSE,sha256=hEyhc4FxwYo3NQ40yNgZ7STqwVk-1_XcTXOnAPbGJAw,1069
|
18
|
+
mbxai-0.6.21.dist-info/RECORD,,
|
File without changes
|
File without changes
|