agenta 0.28.0a2__py3-none-any.whl → 0.28.0a3__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.

@@ -63,7 +63,6 @@ class AuthorizationMiddleware(BaseHTTPMiddleware):
63
63
  self,
64
64
  request: Request,
65
65
  call_next: Callable,
66
- project_id: Optional[UUID] = None,
67
66
  ):
68
67
  if AGENTA_UNAUTHORIZED_EXECUTION_ALLOWED:
69
68
  return await call_next(request)
@@ -85,6 +84,8 @@ class AuthorizationMiddleware(BaseHTTPMiddleware):
85
84
  "resource_id": self.resource_id,
86
85
  }
87
86
 
87
+ project_id = request.query_params.get("project_id")
88
+
88
89
  if project_id:
89
90
  params["project_id"] = project_id
90
91
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agenta
3
- Version: 0.28.0a2
3
+ Version: 0.28.0a3
4
4
  Summary: The SDK for agenta is an open-source LLMOps platform.
5
5
  Home-page: https://agenta.ai
6
6
  Keywords: LLMOps,LLM,evaluation,prompt engineering
@@ -191,7 +191,7 @@ agenta/sdk/managers/deployment.py,sha256=SEokjZeh6n7HRKZ92Y0WncdG49hIFx-Z3B3HAl2
191
191
  agenta/sdk/managers/shared.py,sha256=e53jckQq5PIMpjdxADOonUj7o8aGfzmSvdeH5f43rGs,21497
192
192
  agenta/sdk/managers/variant.py,sha256=A5ga3mq3b0weUTXa9HO72MGaspthGcu1uK9K5OnP738,4172
193
193
  agenta/sdk/middleware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
194
- agenta/sdk/middleware/auth.py,sha256=MAur8I2a4A0nnEhCC2cNscawrR4kweollF6RPpy4LHE,4134
194
+ agenta/sdk/middleware/auth.py,sha256=E7Uw0C3P7aZ9K_GYs8YComMjrKrNyE_SNJ4DXpQcf3Y,4156
195
195
  agenta/sdk/middleware/cache.py,sha256=C_LEzFbulbCBIKtcut2T4qJzh90q4369WCsApDg3Vm0,902
196
196
  agenta/sdk/router.py,sha256=mOguvtOwl2wmyAgOuWTsf98pQwpNiUILKIo67W_hR3A,119
197
197
  agenta/sdk/tracing/__init__.py,sha256=rQNe5-zT5Kt7_CDhq-lnUIi1EYTBVzVf_MbfcIxVD98,41
@@ -226,7 +226,7 @@ agenta/templates/simple_prompt/app.py,sha256=kODgF6lhzsaJPdgL5b21bUki6jkvqjWZzWR
226
226
  agenta/templates/simple_prompt/env.example,sha256=g9AE5bYcGPpxawXMJ96gh8oenEPCHTabsiOnfQo3c5k,70
227
227
  agenta/templates/simple_prompt/requirements.txt,sha256=ywRglRy7pPkw8bljmMEJJ4aOOQKrt9FGKULZ-DGkoBU,23
228
228
  agenta/templates/simple_prompt/template.toml,sha256=DQBtRrF4GU8LBEXOZ-GGuINXMQDKGTEG5y37tnvIUIE,60
229
- agenta-0.28.0a2.dist-info/METADATA,sha256=gdAFd2lVCzvmI3c4mMdsEu7FSXs-sEVC-NWh-j8KsBU,31619
230
- agenta-0.28.0a2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
231
- agenta-0.28.0a2.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
232
- agenta-0.28.0a2.dist-info/RECORD,,
229
+ agenta-0.28.0a3.dist-info/METADATA,sha256=mPDoW4Zw_FLrEWivA3h6NHMSOMMjNtmpH_I-E_S4EEA,31619
230
+ agenta-0.28.0a3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
231
+ agenta-0.28.0a3.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
232
+ agenta-0.28.0a3.dist-info/RECORD,,