agenta 0.27.0a1__py3-none-any.whl → 0.27.0a2__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.
- agenta/sdk/decorators/tracing.py +2 -2
- {agenta-0.27.0a1.dist-info → agenta-0.27.0a2.dist-info}/METADATA +1 -1
- {agenta-0.27.0a1.dist-info → agenta-0.27.0a2.dist-info}/RECORD +5 -5
- {agenta-0.27.0a1.dist-info → agenta-0.27.0a2.dist-info}/WHEEL +0 -0
- {agenta-0.27.0a1.dist-info → agenta-0.27.0a2.dist-info}/entry_points.txt +0 -0
agenta/sdk/decorators/tracing.py
CHANGED
|
@@ -2,7 +2,7 @@ import inspect
|
|
|
2
2
|
import traceback
|
|
3
3
|
from functools import wraps
|
|
4
4
|
from itertools import chain
|
|
5
|
-
from typing import Callable, Optional, Any, Dict, List
|
|
5
|
+
from typing import Callable, Optional, Any, Dict, List, Union
|
|
6
6
|
|
|
7
7
|
import agenta as ag
|
|
8
8
|
|
|
@@ -47,7 +47,7 @@ class instrument:
|
|
|
47
47
|
return inputs
|
|
48
48
|
|
|
49
49
|
def redact(
|
|
50
|
-
io: Dict[str, Any], ignore: List[str]
|
|
50
|
+
io: Dict[str, Any], ignore: Union[List[str], bool] = False
|
|
51
51
|
) -> Dict[str, Any]:
|
|
52
52
|
"""
|
|
53
53
|
Redact user-defined sensitive information from inputs and outputs as defined by the ignore list or boolean flag.
|
|
@@ -142,7 +142,7 @@ agenta/sdk/context/routing.py,sha256=gOoOM88hSjIjzQ3ni68TjUoq7WtwSH3kB07YjCYvW2c
|
|
|
142
142
|
agenta/sdk/context/tracing.py,sha256=UmmW15UFFsvxS0myS6aD9wBk5iNepNlQi4tEQ_ejfYM,96
|
|
143
143
|
agenta/sdk/decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
144
144
|
agenta/sdk/decorators/routing.py,sha256=L3_bYJ254x6uB4d8_TK47jKIsHrz4kibf3Dlty9UHQM,36026
|
|
145
|
-
agenta/sdk/decorators/tracing.py,sha256
|
|
145
|
+
agenta/sdk/decorators/tracing.py,sha256=-A1GjhPs9OicDtXidtxAEGnUJRyuzZR1oHA95rsNrzw,11457
|
|
146
146
|
agenta/sdk/litellm/__init__.py,sha256=Bpz1gfHQc0MN1yolWcjifLWznv6GjHggvRGQSpxpihM,37
|
|
147
147
|
agenta/sdk/litellm/litellm.py,sha256=j4WyRTQdxLkvelaPm5BfUbaUxkbQXDhyr3yp9yXo1RQ,8289
|
|
148
148
|
agenta/sdk/router.py,sha256=mOguvtOwl2wmyAgOuWTsf98pQwpNiUILKIo67W_hR3A,119
|
|
@@ -179,7 +179,7 @@ agenta/templates/simple_prompt/app.py,sha256=kODgF6lhzsaJPdgL5b21bUki6jkvqjWZzWR
|
|
|
179
179
|
agenta/templates/simple_prompt/env.example,sha256=g9AE5bYcGPpxawXMJ96gh8oenEPCHTabsiOnfQo3c5k,70
|
|
180
180
|
agenta/templates/simple_prompt/requirements.txt,sha256=ywRglRy7pPkw8bljmMEJJ4aOOQKrt9FGKULZ-DGkoBU,23
|
|
181
181
|
agenta/templates/simple_prompt/template.toml,sha256=DQBtRrF4GU8LBEXOZ-GGuINXMQDKGTEG5y37tnvIUIE,60
|
|
182
|
-
agenta-0.27.
|
|
183
|
-
agenta-0.27.
|
|
184
|
-
agenta-0.27.
|
|
185
|
-
agenta-0.27.
|
|
182
|
+
agenta-0.27.0a2.dist-info/METADATA,sha256=ApO4L8qDn3H-cS4dfvbP2g5yyieP1Rc-rkUfWsdfRn0,31738
|
|
183
|
+
agenta-0.27.0a2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
184
|
+
agenta-0.27.0a2.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
|
|
185
|
+
agenta-0.27.0a2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|