agenta 0.27.0a5__py3-none-any.whl → 0.27.0a6__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 +5 -3
- {agenta-0.27.0a5.dist-info → agenta-0.27.0a6.dist-info}/METADATA +1 -1
- {agenta-0.27.0a5.dist-info → agenta-0.27.0a6.dist-info}/RECORD +5 -5
- {agenta-0.27.0a5.dist-info → agenta-0.27.0a6.dist-info}/WHEEL +0 -0
- {agenta-0.27.0a5.dist-info → agenta-0.27.0a6.dist-info}/entry_points.txt +0 -0
agenta/sdk/decorators/tracing.py
CHANGED
|
@@ -40,7 +40,7 @@ class instrument:
|
|
|
40
40
|
self._parse_type_and_kind()
|
|
41
41
|
|
|
42
42
|
with ag.tracer.start_as_current_span(func.__name__, kind=self.kind):
|
|
43
|
-
self._pre_instrument(
|
|
43
|
+
self._pre_instrument(func, *args, **kwargs)
|
|
44
44
|
|
|
45
45
|
result = await func(*args, **kwargs)
|
|
46
46
|
|
|
@@ -56,7 +56,7 @@ class instrument:
|
|
|
56
56
|
self._parse_type_and_kind()
|
|
57
57
|
|
|
58
58
|
with ag.tracer.start_as_current_span(func.__name__, kind=self.kind):
|
|
59
|
-
self._pre_instrument(
|
|
59
|
+
self._pre_instrument(func, *args, **kwargs)
|
|
60
60
|
|
|
61
61
|
result = func(*args, **kwargs)
|
|
62
62
|
|
|
@@ -210,7 +210,9 @@ class instrument:
|
|
|
210
210
|
not in (
|
|
211
211
|
ignore
|
|
212
212
|
if isinstance(ignore, list)
|
|
213
|
-
else io.keys()
|
|
213
|
+
else io.keys()
|
|
214
|
+
if ignore is True
|
|
215
|
+
else []
|
|
214
216
|
)
|
|
215
217
|
}
|
|
216
218
|
|
|
@@ -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=ERtZDJoCoR_s73gOt0h_Z_Kr8FCskMkrl_ILD85VV04,35873
|
|
145
|
-
agenta/sdk/decorators/tracing.py,sha256=
|
|
145
|
+
agenta/sdk/decorators/tracing.py,sha256=iXcQKoQ3VcV-FBOSUJ6UXChGaYkOQf20VMrfkfme0LI,7564
|
|
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.0a6.dist-info/METADATA,sha256=P8n7lccwkGHLB_YYeKmr_mpCr41oqW4eC_QRJC8PrXs,31738
|
|
183
|
+
agenta-0.27.0a6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
184
|
+
agenta-0.27.0a6.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
|
|
185
|
+
agenta-0.27.0a6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|