pygeai 0.2.7b41__py3-none-any.whl → 0.2.7b42__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.
- pygeai/proxy/managers.py +8 -3
- pygeai/proxy/servers.py +1 -0
- {pygeai-0.2.7b41.dist-info → pygeai-0.2.7b42.dist-info}/METADATA +1 -1
- {pygeai-0.2.7b41.dist-info → pygeai-0.2.7b42.dist-info}/RECORD +8 -8
- {pygeai-0.2.7b41.dist-info → pygeai-0.2.7b42.dist-info}/WHEEL +0 -0
- {pygeai-0.2.7b41.dist-info → pygeai-0.2.7b42.dist-info}/entry_points.txt +0 -0
- {pygeai-0.2.7b41.dist-info → pygeai-0.2.7b42.dist-info}/licenses/LICENSE +0 -0
- {pygeai-0.2.7b41.dist-info → pygeai-0.2.7b42.dist-info}/top_level.txt +0 -0
pygeai/proxy/managers.py
CHANGED
|
@@ -52,13 +52,18 @@ class ServerManager:
|
|
|
52
52
|
await self.exit_stack.enter_async_context(server.exit_stack)
|
|
53
53
|
await server.initialize()
|
|
54
54
|
self.servers[server.name] = server
|
|
55
|
-
Console.write_stdout(f"
|
|
55
|
+
Console.write_stdout(f"\nServer {server.name} initialized successfully", end="\n\n")
|
|
56
56
|
except Exception as e:
|
|
57
57
|
Console.write_exception(f"Failed to initialize server {server.name}:", e)
|
|
58
58
|
raise
|
|
59
59
|
|
|
60
60
|
for server in self.servers.values():
|
|
61
|
-
Console.write_stdout(f"Listing tools for server {server.name}")
|
|
61
|
+
Console.write_stdout(f"Listing tools for server {server.name}", end="")
|
|
62
|
+
if server.public_preffix:
|
|
63
|
+
Console.write_stdout(f" | access scope:public prefix: {server.public_preffix}")
|
|
64
|
+
else:
|
|
65
|
+
Console.write_stdout(" ! access scope:private")
|
|
66
|
+
|
|
62
67
|
tools = await server.list_tools()
|
|
63
68
|
for tool in tools:
|
|
64
69
|
self.tools[tool.get_full_name()] = tool
|
|
@@ -75,7 +80,7 @@ class ServerManager:
|
|
|
75
80
|
try:
|
|
76
81
|
alias = self.settings.get_current_alias()
|
|
77
82
|
client = ProxyClient(self.settings.get_api_key(alias), self.settings.get_base_url(alias), self.settings.get_proxy_id(alias))
|
|
78
|
-
Console.write_stdout(f"
|
|
83
|
+
Console.write_stdout(f"\nRegistering proxy {self.settings.get_proxy_id(alias)} with name {self.settings.get_proxy_name(alias)} and description {self.settings.get_proxy_description(alias)}")
|
|
79
84
|
result = client.register(proxy_data=ToolProxyData(
|
|
80
85
|
id=self.settings.get_proxy_id(alias),
|
|
81
86
|
name=self.settings.get_proxy_name(alias),
|
pygeai/proxy/servers.py
CHANGED
|
@@ -105,6 +105,7 @@ class A2AServer(ToolServer):
|
|
|
105
105
|
"""
|
|
106
106
|
try:
|
|
107
107
|
self.httpx_client = httpx.AsyncClient(timeout=60.0)
|
|
108
|
+
self.public_preffix = self.config.get("publicpreffix")
|
|
108
109
|
headers = self.config.get("headers")
|
|
109
110
|
if headers:
|
|
110
111
|
self.httpx_client.headers.update(headers)
|
|
@@ -186,8 +186,8 @@ pygeai/organization/limits/mappers.py,sha256=nINHaXOnZLnpc39PG3xf_7HX6tS9_-cT-H5
|
|
|
186
186
|
pygeai/proxy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
187
187
|
pygeai/proxy/clients.py,sha256=YPRUS3JAbEXgIGZ_dg8VwEXLxvG_hl51o70uudqjYB0,7857
|
|
188
188
|
pygeai/proxy/config.py,sha256=41fACnnhB21OhnohVPW4sbM8aZbAAEgGo7-dUaM_fpM,5057
|
|
189
|
-
pygeai/proxy/managers.py,sha256=
|
|
190
|
-
pygeai/proxy/servers.py,sha256=
|
|
189
|
+
pygeai/proxy/managers.py,sha256=swORE-WLtcTPglNpRc2AuHVjnbq0SX2ppnWQWYA44iQ,11134
|
|
190
|
+
pygeai/proxy/servers.py,sha256=ys2bzIRIoBxEuzQOxviFaQGznm3CuymXHSkeKu4xm6U,11236
|
|
191
191
|
pygeai/proxy/tool.py,sha256=BB6G5cg0768qz1tARB1pL0wBhSKr8SeWVGna0hfGmzg,2245
|
|
192
192
|
pygeai/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
193
193
|
pygeai/tests/admin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -475,9 +475,9 @@ pygeai/vendor/a2a/utils/helpers.py,sha256=6Tbd8SVfXvdNEk6WYmLOjrAxkzFf1aIg8dkFfB
|
|
|
475
475
|
pygeai/vendor/a2a/utils/message.py,sha256=gc_EKO69CJ4HkR76IFgsy-kENJz1dn7CfSgWJWvt-gs,2197
|
|
476
476
|
pygeai/vendor/a2a/utils/task.py,sha256=BYRA_L1HpoUGJAVlyHML0lCM9Awhf2Ovjj7oPFXKbh0,1647
|
|
477
477
|
pygeai/vendor/a2a/utils/telemetry.py,sha256=VvSp1Ztqaobkmq9-3sNhhPEilJS32-JTSfKzegkj6FU,10861
|
|
478
|
-
pygeai-0.2.
|
|
479
|
-
pygeai-0.2.
|
|
480
|
-
pygeai-0.2.
|
|
481
|
-
pygeai-0.2.
|
|
482
|
-
pygeai-0.2.
|
|
483
|
-
pygeai-0.2.
|
|
478
|
+
pygeai-0.2.7b42.dist-info/licenses/LICENSE,sha256=eHfqo7-AWS8cMq0cg03lq7owsLeCmZA-xS5L0kuHnl8,1474
|
|
479
|
+
pygeai-0.2.7b42.dist-info/METADATA,sha256=8ib_II6z_LMPUaR07YA4dt6gzeGwtxtfJFxYnHq2kPo,6883
|
|
480
|
+
pygeai-0.2.7b42.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
481
|
+
pygeai-0.2.7b42.dist-info/entry_points.txt,sha256=OAmwuXVCQBTCE3HeVegVd37hbhCcp9TPahvdrCuMYWw,178
|
|
482
|
+
pygeai-0.2.7b42.dist-info/top_level.txt,sha256=bJFwp2tURmCfB94yXDF7ylvdSJXFDDJsyUOb-7PJgwc,7
|
|
483
|
+
pygeai-0.2.7b42.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|