pygeai 0.4.0b5__py3-none-any.whl → 0.4.0b7__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.
Potentially problematic release.
This version of pygeai might be problematic. Click here for more details.
- pygeai/lab/clients.py +3 -0
- pygeai/lab/tools/clients.py +8 -2
- {pygeai-0.4.0b5.dist-info → pygeai-0.4.0b7.dist-info}/METADATA +1 -1
- {pygeai-0.4.0b5.dist-info → pygeai-0.4.0b7.dist-info}/RECORD +8 -8
- {pygeai-0.4.0b5.dist-info → pygeai-0.4.0b7.dist-info}/WHEEL +0 -0
- {pygeai-0.4.0b5.dist-info → pygeai-0.4.0b7.dist-info}/entry_points.txt +0 -0
- {pygeai-0.4.0b5.dist-info → pygeai-0.4.0b7.dist-info}/licenses/LICENSE +0 -0
- {pygeai-0.4.0b5.dist-info → pygeai-0.4.0b7.dist-info}/top_level.txt +0 -0
pygeai/lab/clients.py
CHANGED
pygeai/lab/tools/clients.py
CHANGED
|
@@ -114,7 +114,7 @@ class ToolClient(AILabClient):
|
|
|
114
114
|
headers=headers,
|
|
115
115
|
data=data
|
|
116
116
|
)
|
|
117
|
-
|
|
117
|
+
response.raise_for_status()
|
|
118
118
|
try:
|
|
119
119
|
result = response.json()
|
|
120
120
|
except JSONDecodeError as e:
|
|
@@ -166,6 +166,7 @@ class ToolClient(AILabClient):
|
|
|
166
166
|
"allowExternal": allow_external
|
|
167
167
|
}
|
|
168
168
|
)
|
|
169
|
+
response.raise_for_status()
|
|
169
170
|
try:
|
|
170
171
|
result = response.json()
|
|
171
172
|
except JSONDecodeError as e:
|
|
@@ -207,6 +208,7 @@ class ToolClient(AILabClient):
|
|
|
207
208
|
"allowDrafts": allow_drafts,
|
|
208
209
|
}
|
|
209
210
|
)
|
|
211
|
+
response.raise_for_status()
|
|
210
212
|
try:
|
|
211
213
|
result = response.json()
|
|
212
214
|
except JSONDecodeError as e:
|
|
@@ -247,6 +249,7 @@ class ToolClient(AILabClient):
|
|
|
247
249
|
endpoint=endpoint,
|
|
248
250
|
headers=headers
|
|
249
251
|
)
|
|
252
|
+
response.raise_for_status()
|
|
250
253
|
|
|
251
254
|
if response.status_code != 204:
|
|
252
255
|
logger.error(f"Unable to delete tool {tool_id or tool_name} from project {self.project_id}: JSON parsing error (status {response.status_code}). Response: {response.text}")
|
|
@@ -362,7 +365,7 @@ class ToolClient(AILabClient):
|
|
|
362
365
|
headers=headers,
|
|
363
366
|
data=data
|
|
364
367
|
)
|
|
365
|
-
|
|
368
|
+
response.raise_for_status()
|
|
366
369
|
try:
|
|
367
370
|
result = response.json()
|
|
368
371
|
except JSONDecodeError as e:
|
|
@@ -448,6 +451,7 @@ class ToolClient(AILabClient):
|
|
|
448
451
|
"allowDrafts": allow_drafts,
|
|
449
452
|
}
|
|
450
453
|
)
|
|
454
|
+
response.raise_for_status()
|
|
451
455
|
try:
|
|
452
456
|
result = response.json()
|
|
453
457
|
except JSONDecodeError as e:
|
|
@@ -502,6 +506,7 @@ class ToolClient(AILabClient):
|
|
|
502
506
|
headers=headers,
|
|
503
507
|
data=data
|
|
504
508
|
)
|
|
509
|
+
response.raise_for_status()
|
|
505
510
|
try:
|
|
506
511
|
result = response.json()
|
|
507
512
|
except JSONDecodeError as e:
|
|
@@ -538,6 +543,7 @@ class ToolClient(AILabClient):
|
|
|
538
543
|
endpoint=endpoint,
|
|
539
544
|
headers=headers,
|
|
540
545
|
)
|
|
546
|
+
response.raise_for_status()
|
|
541
547
|
try:
|
|
542
548
|
result = response.json()
|
|
543
549
|
except JSONDecodeError as e:
|
|
@@ -143,7 +143,7 @@ pygeai/health/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
143
143
|
pygeai/health/clients.py,sha256=U2eb1tkXt1Rf_KdV0ZFQS2k4wGnJTXHHd9-Er0eWQuw,1011
|
|
144
144
|
pygeai/health/endpoints.py,sha256=UAzMcqSXZtMj4r8M8B7a_a5LT6X_jMFNsCTvcsjNTYA,71
|
|
145
145
|
pygeai/lab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
|
-
pygeai/lab/clients.py,sha256=
|
|
146
|
+
pygeai/lab/clients.py,sha256=mhtJw_cEFC1Cd6KIrcX6KxcRseKN3N_GtjlyUlLaah4,762
|
|
147
147
|
pygeai/lab/constants.py,sha256=ddgDnXP4GD0woi-FUJaJXzaWS3H6zmDN0B-v8utM95Q,170
|
|
148
148
|
pygeai/lab/managers.py,sha256=eDnT31n-xPUcK_Hjfe9FXjz6dAwAqmrbaYZ6XEHonQE,70554
|
|
149
149
|
pygeai/lab/models.py,sha256=1m41gSqpXZVO9AcPVxzlsC-TgxZcCsgGUbpN5zoDMjU,71451
|
|
@@ -164,7 +164,7 @@ pygeai/lab/strategies/clients.py,sha256=_a1yc8kwd50Yv4g1jqfa0gRnMiROR7Dn0gx3xqFU
|
|
|
164
164
|
pygeai/lab/strategies/endpoints.py,sha256=LgEvUgeeN-X6VMl-tpl9_N12GRppLPScQmiMRk7Ri28,541
|
|
165
165
|
pygeai/lab/strategies/mappers.py,sha256=6C_jubAVXMKLGQy5NUD0OX7SlrU2mLe2QsgzeJ1-WKw,2437
|
|
166
166
|
pygeai/lab/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
167
|
-
pygeai/lab/tools/clients.py,sha256=
|
|
167
|
+
pygeai/lab/tools/clients.py,sha256=KkXLvZ8PRUZHP4X-YrvezdC2B2lf4MZYzRhdOmEbGWw,26801
|
|
168
168
|
pygeai/lab/tools/endpoints.py,sha256=HiGoMs4OVeCgH7EAERTtifFPl53NryA1Awh7D6AO8bA,699
|
|
169
169
|
pygeai/lab/tools/mappers.py,sha256=bYi5k36h0k4mCvOnV-r8YOHKz0U9P0mH21GNs20w2eM,4998
|
|
170
170
|
pygeai/man/__init__.py,sha256=gqGI92vUPt6RPweoWX3mTUYPWNDlm6aGUjQOnYXqthk,53
|
|
@@ -495,9 +495,9 @@ pygeai/vendor/a2a/utils/helpers.py,sha256=6Tbd8SVfXvdNEk6WYmLOjrAxkzFf1aIg8dkFfB
|
|
|
495
495
|
pygeai/vendor/a2a/utils/message.py,sha256=gc_EKO69CJ4HkR76IFgsy-kENJz1dn7CfSgWJWvt-gs,2197
|
|
496
496
|
pygeai/vendor/a2a/utils/task.py,sha256=BYRA_L1HpoUGJAVlyHML0lCM9Awhf2Ovjj7oPFXKbh0,1647
|
|
497
497
|
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.
|
|
498
|
+
pygeai-0.4.0b7.dist-info/licenses/LICENSE,sha256=eHfqo7-AWS8cMq0cg03lq7owsLeCmZA-xS5L0kuHnl8,1474
|
|
499
|
+
pygeai-0.4.0b7.dist-info/METADATA,sha256=M_uGUknAyMR5q6rhNQZDL43yZWMqhQup34VJVMmhzgU,6940
|
|
500
|
+
pygeai-0.4.0b7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
501
|
+
pygeai-0.4.0b7.dist-info/entry_points.txt,sha256=OAmwuXVCQBTCE3HeVegVd37hbhCcp9TPahvdrCuMYWw,178
|
|
502
|
+
pygeai-0.4.0b7.dist-info/top_level.txt,sha256=bJFwp2tURmCfB94yXDF7ylvdSJXFDDJsyUOb-7PJgwc,7
|
|
503
|
+
pygeai-0.4.0b7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|