pygeai 0.4.0b8__py3-none-any.whl → 0.4.0b10__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/cli/commands/lab/ai_lab.py +212 -42
- pygeai/cli/commands/lab/options.py +8 -0
- pygeai/lab/clients.py +2 -2
- pygeai/lab/managers.py +5 -5
- {pygeai-0.4.0b8.dist-info → pygeai-0.4.0b10.dist-info}/METADATA +1 -1
- {pygeai-0.4.0b8.dist-info → pygeai-0.4.0b10.dist-info}/RECORD +10 -9
- {pygeai-0.4.0b8.dist-info → pygeai-0.4.0b10.dist-info}/WHEEL +0 -0
- {pygeai-0.4.0b8.dist-info → pygeai-0.4.0b10.dist-info}/entry_points.txt +0 -0
- {pygeai-0.4.0b8.dist-info → pygeai-0.4.0b10.dist-info}/licenses/LICENSE +0 -0
- {pygeai-0.4.0b8.dist-info → pygeai-0.4.0b10.dist-info}/top_level.txt +0 -0
pygeai/lab/clients.py
CHANGED
|
@@ -6,9 +6,9 @@ from pygeai.core.common.exceptions import APIError
|
|
|
6
6
|
|
|
7
7
|
class AILabClient(BaseClient):
|
|
8
8
|
|
|
9
|
-
def __init__(self, api_key: str = None, base_url: str = None, alias: str = None):
|
|
9
|
+
def __init__(self, api_key: str = None, base_url: str = None, alias: str = None, project_id: str = None):
|
|
10
10
|
super().__init__(api_key, base_url, alias)
|
|
11
|
-
self.project_id = self.__get_project_id()
|
|
11
|
+
self.project_id = project_id if project_id else self.__get_project_id()
|
|
12
12
|
|
|
13
13
|
def __get_project_id(self):
|
|
14
14
|
response = None
|
pygeai/lab/managers.py
CHANGED
|
@@ -22,11 +22,11 @@ from pygeai.lab.tools.mappers import ToolMapper
|
|
|
22
22
|
|
|
23
23
|
class AILabManager:
|
|
24
24
|
|
|
25
|
-
def __init__(self, api_key: str = None, base_url: str = None, alias: str = "default"):
|
|
26
|
-
self.__agent_client = AgentClient(api_key=api_key, base_url=base_url, alias=alias)
|
|
27
|
-
self.__tool_client = ToolClient(api_key=api_key, base_url=base_url, alias=alias)
|
|
28
|
-
self.__reasoning_strategy_client = ReasoningStrategyClient(api_key=api_key, base_url=base_url, alias=alias)
|
|
29
|
-
self.__process_client = AgenticProcessClient(api_key=api_key, base_url=base_url, alias=alias)
|
|
25
|
+
def __init__(self, api_key: str = None, base_url: str = None, alias: str = "default", project_id: str = None):
|
|
26
|
+
self.__agent_client = AgentClient(api_key=api_key, base_url=base_url, alias=alias, project_id=project_id)
|
|
27
|
+
self.__tool_client = ToolClient(api_key=api_key, base_url=base_url, alias=alias, project_id=project_id)
|
|
28
|
+
self.__reasoning_strategy_client = ReasoningStrategyClient(api_key=api_key, base_url=base_url, alias=alias, project_id=project_id)
|
|
29
|
+
self.__process_client = AgenticProcessClient(api_key=api_key, base_url=base_url, alias=alias, project_id=project_id)
|
|
30
30
|
|
|
31
31
|
def get_agent_list(
|
|
32
32
|
self,
|
|
@@ -57,8 +57,9 @@ pygeai/cli/commands/validators.py,sha256=lNtYSJvKFrEeg_h0oYURMuoQbNG5r6QdjzDL-aT
|
|
|
57
57
|
pygeai/cli/commands/version.py,sha256=vyJcnxwL_TfpOQI0yE2a1ZyA3VRAE7ssh9APNBXpmqk,1701
|
|
58
58
|
pygeai/cli/commands/flows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
59
|
pygeai/cli/commands/lab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
60
|
-
pygeai/cli/commands/lab/ai_lab.py,sha256=
|
|
60
|
+
pygeai/cli/commands/lab/ai_lab.py,sha256=Ecvp8E6tlEh56sPsmcAwYF0CjNn3zdJwggs-BmtdKqU,129292
|
|
61
61
|
pygeai/cli/commands/lab/common.py,sha256=YBenPCVgK01Xaxgj1429bp_Ri1SN4beBxZk3dCLp7X0,6590
|
|
62
|
+
pygeai/cli/commands/lab/options.py,sha256=T13Vi97zochr0cU4yjyvvwWRPENILFDYpvqpU4uEBis,165
|
|
62
63
|
pygeai/cli/commands/lab/spec.py,sha256=EjNdEnljKpYPQyT4d4ViAPrM1g7oIitv6ddnWVkWXPk,8301
|
|
63
64
|
pygeai/cli/commands/lab/utils.py,sha256=uxhgHvCRrV6WYRxR2qd3nED_hhXcxJ1tAU8MlzoshEg,456
|
|
64
65
|
pygeai/cli/texts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -143,9 +144,9 @@ pygeai/health/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
143
144
|
pygeai/health/clients.py,sha256=U2eb1tkXt1Rf_KdV0ZFQS2k4wGnJTXHHd9-Er0eWQuw,1011
|
|
144
145
|
pygeai/health/endpoints.py,sha256=UAzMcqSXZtMj4r8M8B7a_a5LT6X_jMFNsCTvcsjNTYA,71
|
|
145
146
|
pygeai/lab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
|
-
pygeai/lab/clients.py,sha256=
|
|
147
|
+
pygeai/lab/clients.py,sha256=5JebyNpKCVwAQpeOAkJPIHRf_6hoKA3uUm9xewm01UQ,816
|
|
147
148
|
pygeai/lab/constants.py,sha256=ddgDnXP4GD0woi-FUJaJXzaWS3H6zmDN0B-v8utM95Q,170
|
|
148
|
-
pygeai/lab/managers.py,sha256=
|
|
149
|
+
pygeai/lab/managers.py,sha256=_i9tQACTGblKkw05WMu5RLpCYlyL2PtLvNI42F11u8Y,70670
|
|
149
150
|
pygeai/lab/models.py,sha256=1m41gSqpXZVO9AcPVxzlsC-TgxZcCsgGUbpN5zoDMjU,71451
|
|
150
151
|
pygeai/lab/runners.py,sha256=-uaCPHpFyiKtVOxlEjPjAc9h-onSdGAcYJ5IAZPqlb0,4147
|
|
151
152
|
pygeai/lab/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -495,9 +496,9 @@ pygeai/vendor/a2a/utils/helpers.py,sha256=6Tbd8SVfXvdNEk6WYmLOjrAxkzFf1aIg8dkFfB
|
|
|
495
496
|
pygeai/vendor/a2a/utils/message.py,sha256=gc_EKO69CJ4HkR76IFgsy-kENJz1dn7CfSgWJWvt-gs,2197
|
|
496
497
|
pygeai/vendor/a2a/utils/task.py,sha256=BYRA_L1HpoUGJAVlyHML0lCM9Awhf2Ovjj7oPFXKbh0,1647
|
|
497
498
|
pygeai/vendor/a2a/utils/telemetry.py,sha256=VvSp1Ztqaobkmq9-3sNhhPEilJS32-JTSfKzegkj6FU,10861
|
|
498
|
-
pygeai-0.4.
|
|
499
|
-
pygeai-0.4.
|
|
500
|
-
pygeai-0.4.
|
|
501
|
-
pygeai-0.4.
|
|
502
|
-
pygeai-0.4.
|
|
503
|
-
pygeai-0.4.
|
|
499
|
+
pygeai-0.4.0b10.dist-info/licenses/LICENSE,sha256=eHfqo7-AWS8cMq0cg03lq7owsLeCmZA-xS5L0kuHnl8,1474
|
|
500
|
+
pygeai-0.4.0b10.dist-info/METADATA,sha256=v2dh0SCr1-9mioQuxBd4PjRxun1SntD_QHjMJZUjO-w,6941
|
|
501
|
+
pygeai-0.4.0b10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
502
|
+
pygeai-0.4.0b10.dist-info/entry_points.txt,sha256=OAmwuXVCQBTCE3HeVegVd37hbhCcp9TPahvdrCuMYWw,178
|
|
503
|
+
pygeai-0.4.0b10.dist-info/top_level.txt,sha256=bJFwp2tURmCfB94yXDF7ylvdSJXFDDJsyUOb-7PJgwc,7
|
|
504
|
+
pygeai-0.4.0b10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|