biatoolkit 1.0.1__py3-none-any.whl → 1.0.2__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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: biatoolkit
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Biblioteca para desenvolvedores que utilizam o BiaAgentBuilder
|
|
5
5
|
Author: Bia Platform Team
|
|
6
6
|
Author-email: data.platform@sankhya.com.br
|
|
@@ -128,7 +128,7 @@ Crie um novo arquivo chamado `local.py` com o seguinte conteúdo:
|
|
|
128
128
|
|
|
129
129
|
```python
|
|
130
130
|
import asyncio
|
|
131
|
-
from
|
|
131
|
+
from biatoolkit.basic_client import BasicClient
|
|
132
132
|
|
|
133
133
|
MCP_SERVER_URL = "http://0.0.0.0:8000/mcp"
|
|
134
134
|
client = BasicClient(MCP_SERVER_URL)
|
|
@@ -169,7 +169,7 @@ python local.py
|
|
|
169
169
|
|
|
170
170
|
Você deverá ver a saída no console semelhante a:
|
|
171
171
|
|
|
172
|
-

|
|
173
173
|
|
|
174
174
|
Caso deseje testar a execução de uma **tool**, basta alterar o método `main` conforme a seguir:
|
|
175
175
|
|
|
@@ -185,7 +185,7 @@ Veja que o método `call_tool` possui dois parâmetros:
|
|
|
185
185
|
|
|
186
186
|
Ao executar o arquivo `local.py`, você deverá ver a saída no console semelhante a:
|
|
187
187
|
|
|
188
|
-

|
|
189
189
|
|
|
190
190
|
### **Enviando parâmetros via header**
|
|
191
191
|
|
|
@@ -204,7 +204,7 @@ Se seu servidor MCP estiver sendo executado **localmente**, você conseguirá in
|
|
|
204
204
|
|
|
205
205
|
```python
|
|
206
206
|
import asyncio
|
|
207
|
-
from
|
|
207
|
+
from biatoolkit.basic_client import BasicClient
|
|
208
208
|
|
|
209
209
|
MCP_SERVER_URL = "http://0.0.0.0:8000/mcp"
|
|
210
210
|
|
|
@@ -258,7 +258,7 @@ Para recuperar os parâmetros no MCP Server que foram enviados por meio do `head
|
|
|
258
258
|
|
|
259
259
|
```python
|
|
260
260
|
from mcp.server.fastmcp import FastMCP
|
|
261
|
-
from
|
|
261
|
+
from biatoolkit.util import Util
|
|
262
262
|
|
|
263
263
|
mcp = FastMCP(host="0.0.0.0", stateless_http=True)
|
|
264
264
|
|
|
@@ -300,7 +300,7 @@ Para recuperar um valor sensível no seu MCP Server, utilize o método `get_para
|
|
|
300
300
|
|
|
301
301
|
```python
|
|
302
302
|
from mcp.server.fastmcp import FastMCP
|
|
303
|
-
from
|
|
303
|
+
from biatoolkit.util import Util
|
|
304
304
|
|
|
305
305
|
mcp = FastMCP(host="0.0.0.0", stateless_http=True)
|
|
306
306
|
|
|
@@ -3,7 +3,7 @@ biatoolkit/basic_client.py,sha256=U4JW88QjaMv9VBspnCL_B6JBnGQk8oVH70cFrjNv63Y,13
|
|
|
3
3
|
biatoolkit/util.py,sha256=7Dm6dDd-9ju8hmnlv9BzHd_GHTU-2KiWA6d_gP9Ps9E,2081
|
|
4
4
|
biatoolkit/schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
biatoolkit/schema/header.py,sha256=COJPlqK1cFvvWzDcCw2ru1jszWPgyyvabkjzDCc8AjM,683
|
|
6
|
-
biatoolkit-1.0.
|
|
7
|
-
biatoolkit-1.0.
|
|
8
|
-
biatoolkit-1.0.
|
|
9
|
-
biatoolkit-1.0.
|
|
6
|
+
biatoolkit-1.0.2.dist-info/METADATA,sha256=nq1s0JbUwJ-e0cWMB48jL5UaR5CjhZHxcEIrKdWA6NU,13181
|
|
7
|
+
biatoolkit-1.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
biatoolkit-1.0.2.dist-info/top_level.txt,sha256=DyrMS0X6u1FDA9uT854LxoT3X7gzMAlsFQabE-WuKMc,11
|
|
9
|
+
biatoolkit-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|