agenta 0.36.0__py3-none-any.whl → 0.36.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.

Potentially problematic release.


This version of agenta might be problematic. Click here for more details.

@@ -122,7 +122,6 @@ class entrypoint:
122
122
  _test_path = f"{AGENTA_RUNTIME_PREFIX}/test"
123
123
  _config_key = "ag_config"
124
124
  # LEGACY
125
- _legacy_playground_run_path = f"{AGENTA_RUNTIME_PREFIX}/playground/run"
126
125
  _legacy_generate_path = f"{AGENTA_RUNTIME_PREFIX}/generate"
127
126
  _legacy_generate_deployed_path = f"{AGENTA_RUNTIME_PREFIX}/generate_deployed"
128
127
 
@@ -178,7 +177,7 @@ class entrypoint:
178
177
 
179
178
  self.update_run_wrapper_signature(wrapper=run_wrapper)
180
179
 
181
- run_route = f"{entrypoint._run_path}{route_path}"
180
+ run_route = f"{route_path}{entrypoint._run_path}"
182
181
  app.post(
183
182
  run_route,
184
183
  response_model=BaseResponse,
@@ -214,7 +213,7 @@ class entrypoint:
214
213
 
215
214
  self.update_test_wrapper_signature(wrapper=test_wrapper, config_instance=config)
216
215
 
217
- test_route = f"{entrypoint._test_path}{route_path}"
216
+ test_route = f"{route_path}{entrypoint._test_path}"
218
217
  app.post(
219
218
  test_route,
220
219
  response_model=BaseResponse,
@@ -233,20 +232,8 @@ class entrypoint:
233
232
  )(test_wrapper)
234
233
  # LEGACY
235
234
 
236
- # LEGACY
237
- # TODO: Removing this implies no breaking changes
238
- if route_path == "":
239
- test_route = entrypoint._legacy_playground_run_path
240
- app.post(
241
- test_route,
242
- response_model=BaseResponse,
243
- response_model_exclude_none=True,
244
- )(test_wrapper)
245
- # LEGACY
246
- ### ------------ #
247
-
248
235
  ### --- OpenAPI --- #
249
- test_route = f"{entrypoint._test_path}{route_path}"
236
+ test_route = f"{route_path}{entrypoint._test_path}"
250
237
  entrypoint.routes.append(
251
238
  {
252
239
  "func": func.__name__,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: agenta
3
- Version: 0.36.0
3
+ Version: 0.36.2
4
4
  Summary: The SDK for agenta is an open-source LLMOps platform.
5
5
  Keywords: LLMOps,LLM,evaluation,prompt engineering
6
6
  Author: Mahmoud Mabrouk
@@ -205,7 +205,7 @@ agenta/sdk/context/exporting.py,sha256=16X8fgMhl58gehSlqANX97FiKxx4TkGiG4d2B0-7Z
205
205
  agenta/sdk/context/routing.py,sha256=FEsjw8EttI1SMyUo96ptcUsvHJnhoKwdr1szlkxxJNU,598
206
206
  agenta/sdk/context/tracing.py,sha256=xjErrXP1Nq1AfL-Cif1l-lNEfs12eQ3v_VCRgoKe7nY,743
207
207
  agenta/sdk/decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
208
- agenta/sdk/decorators/routing.py,sha256=PqKopSYfgt_HGJcBn7-QveudZEKBQHcGrMiPZQ23gUo,25235
208
+ agenta/sdk/decorators/routing.py,sha256=HjAhJcttOdf2NM5HVXYgosh3BD2mF87UO9od0RSZ7Bw,24773
209
209
  agenta/sdk/decorators/tracing.py,sha256=tIi5gpwzvXd26pFW-7kYQtTFO8w1zzwFeAPY2Ldq4P4,9952
210
210
  agenta/sdk/litellm/__init__.py,sha256=Bpz1gfHQc0MN1yolWcjifLWznv6GjHggvRGQSpxpihM,37
211
211
  agenta/sdk/litellm/litellm.py,sha256=Xx_YJu05BYkmIe6uObjS6DwzjgwfNytGWf807Zh0vcU,10153
@@ -249,7 +249,7 @@ agenta/sdk/utils/logging.py,sha256=eFzEFuYpggfIhEKv09JZRqcDzkmZ482a_E2G-X0FK7Y,4
249
249
  agenta/sdk/utils/preinit.py,sha256=YlJL7RLfel0R7DFp-jK7OV-z4ZIQJM0oupYlk7g8b5o,1278
250
250
  agenta/sdk/utils/singleton.py,sha256=17Ph7LGnnV8HkPjImruKita2ni03Ari5jr0jqm__4sc,312
251
251
  agenta/sdk/utils/timing.py,sha256=rmBPSBuUnIu-epocUCVk0KcM2r36HuDoxkFqOZgfPhc,1507
252
- agenta-0.36.0.dist-info/METADATA,sha256=B-HORFIEKQe86deRWc1uE_pwfjwm5Fuu1jXulVmmZyo,29827
253
- agenta-0.36.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
254
- agenta-0.36.0.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
255
- agenta-0.36.0.dist-info/RECORD,,
252
+ agenta-0.36.2.dist-info/METADATA,sha256=7VyTVgAhp7LPOrudfcGvvMIuJEdb7zpQFXGz6ze0pZU,29827
253
+ agenta-0.36.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
254
+ agenta-0.36.2.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
255
+ agenta-0.36.2.dist-info/RECORD,,