agenta 0.27.0__py3-none-any.whl → 0.27.0a1__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/__init__.py +3 -22
- agenta/cli/helper.py +1 -5
- agenta/client/backend/__init__.py +0 -14
- agenta/client/backend/apps/client.py +20 -28
- agenta/client/backend/client.py +2 -25
- agenta/client/backend/containers/client.py +1 -5
- agenta/client/backend/core/__init__.py +1 -2
- agenta/client/backend/core/client_wrapper.py +6 -6
- agenta/client/backend/core/file.py +11 -33
- agenta/client/backend/core/http_client.py +18 -24
- agenta/client/backend/core/pydantic_utilities.py +29 -144
- agenta/client/backend/core/request_options.py +0 -3
- agenta/client/backend/core/serialization.py +42 -139
- agenta/client/backend/evaluations/client.py +2 -7
- agenta/client/backend/evaluators/client.py +1 -349
- agenta/client/backend/observability/client.py +2 -11
- agenta/client/backend/testsets/client.py +10 -10
- agenta/client/backend/types/__init__.py +0 -14
- agenta/client/backend/types/app.py +0 -1
- agenta/client/backend/types/app_variant_response.py +1 -3
- agenta/client/backend/types/create_span.py +2 -3
- agenta/client/backend/types/environment_output.py +0 -1
- agenta/client/backend/types/environment_output_extended.py +0 -1
- agenta/client/backend/types/evaluation.py +2 -1
- agenta/client/backend/types/evaluator.py +0 -2
- agenta/client/backend/types/evaluator_config.py +0 -1
- agenta/client/backend/types/human_evaluation.py +2 -1
- agenta/client/backend/types/llm_tokens.py +2 -2
- agenta/client/backend/types/span.py +0 -1
- agenta/client/backend/types/span_detail.py +1 -7
- agenta/client/backend/types/test_set_output_response.py +2 -5
- agenta/client/backend/types/trace_detail.py +1 -7
- agenta/client/backend/types/with_pagination.py +2 -4
- agenta/client/backend/variants/client.py +273 -1566
- agenta/docker/docker-assets/Dockerfile.cloud.template +1 -1
- agenta/sdk/__init__.py +5 -20
- agenta/sdk/agenta_init.py +26 -30
- agenta/sdk/config_manager.py +205 -0
- agenta/sdk/context/routing.py +5 -6
- agenta/sdk/decorators/routing.py +135 -142
- agenta/sdk/decorators/tracing.py +245 -206
- agenta/sdk/litellm/litellm.py +36 -47
- agenta/sdk/tracing/attributes.py +2 -7
- agenta/sdk/tracing/context.py +2 -5
- agenta/sdk/tracing/conventions.py +8 -10
- agenta/sdk/tracing/exporters.py +6 -15
- agenta/sdk/tracing/inline.py +98 -70
- agenta/sdk/tracing/processors.py +14 -55
- agenta/sdk/tracing/spans.py +4 -16
- agenta/sdk/tracing/tracing.py +50 -54
- agenta/sdk/types.py +2 -61
- agenta/sdk/utils/exceptions.py +1 -31
- {agenta-0.27.0.dist-info → agenta-0.27.0a1.dist-info}/METADATA +1 -1
- {agenta-0.27.0.dist-info → agenta-0.27.0a1.dist-info}/RECORD +56 -67
- agenta/client/backend/types/config_dto.py +0 -32
- agenta/client/backend/types/config_response_model.py +0 -32
- agenta/client/backend/types/evaluator_mapping_output_interface.py +0 -21
- agenta/client/backend/types/evaluator_output_interface.py +0 -21
- agenta/client/backend/types/lifecycle_dto.py +0 -24
- agenta/client/backend/types/reference_dto.py +0 -23
- agenta/client/backend/types/reference_request_model.py +0 -23
- agenta/sdk/managers/__init__.py +0 -6
- agenta/sdk/managers/config.py +0 -318
- agenta/sdk/managers/deployment.py +0 -45
- agenta/sdk/managers/shared.py +0 -639
- agenta/sdk/managers/variant.py +0 -182
- {agenta-0.27.0.dist-info → agenta-0.27.0a1.dist-info}/WHEEL +0 -0
- {agenta-0.27.0.dist-info → agenta-0.27.0a1.dist-info}/entry_points.txt +0 -0
agenta/sdk/tracing/tracing.py
CHANGED
|
@@ -16,10 +16,12 @@ from opentelemetry.sdk.resources import Resource
|
|
|
16
16
|
from agenta.sdk.utils.singleton import Singleton
|
|
17
17
|
from agenta.sdk.utils.exceptions import suppress
|
|
18
18
|
from agenta.sdk.utils.logging import log
|
|
19
|
+
|
|
19
20
|
from agenta.sdk.tracing.processors import TraceProcessor
|
|
20
|
-
from agenta.sdk.tracing.exporters import InlineExporter, OTLPExporter
|
|
21
|
+
from agenta.sdk.tracing.exporters import ConsoleExporter, InlineExporter, OTLPExporter
|
|
21
22
|
from agenta.sdk.tracing.spans import CustomSpan
|
|
22
23
|
from agenta.sdk.tracing.inline import parse_inline_trace
|
|
24
|
+
|
|
23
25
|
from agenta.sdk.tracing.conventions import Reference, is_valid_attribute_key
|
|
24
26
|
|
|
25
27
|
|
|
@@ -35,6 +37,10 @@ class Tracing(metaclass=Singleton):
|
|
|
35
37
|
) -> None:
|
|
36
38
|
# ENDPOINT (OTLP)
|
|
37
39
|
self.otlp_url = url
|
|
40
|
+
# AUTHENTICATION (OTLP)
|
|
41
|
+
self.project_id: Optional[str] = None
|
|
42
|
+
# AUTHORIZATION (OTLP)
|
|
43
|
+
self.api_key: Optional[str] = None
|
|
38
44
|
# HEADERS (OTLP)
|
|
39
45
|
self.headers: Dict[str, str] = dict()
|
|
40
46
|
# REFERENCES
|
|
@@ -42,8 +48,6 @@ class Tracing(metaclass=Singleton):
|
|
|
42
48
|
|
|
43
49
|
# TRACER PROVIDER
|
|
44
50
|
self.tracer_provider: Optional[TracerProvider] = None
|
|
45
|
-
# TRACE PROCESSORS -- INLINE
|
|
46
|
-
self.inline: Optional[TraceProcessor] = None
|
|
47
51
|
# TRACER
|
|
48
52
|
self.tracer: Optional[Tracer] = None
|
|
49
53
|
# INLINE SPANS for INLINE TRACES (INLINE PROCESSOR)
|
|
@@ -53,67 +57,71 @@ class Tracing(metaclass=Singleton):
|
|
|
53
57
|
|
|
54
58
|
def configure(
|
|
55
59
|
self,
|
|
60
|
+
project_id: Optional[str] = None,
|
|
56
61
|
api_key: Optional[str] = None,
|
|
57
|
-
#
|
|
62
|
+
#
|
|
58
63
|
app_id: Optional[str] = None,
|
|
59
64
|
):
|
|
65
|
+
# AUTHENTICATION (OTLP)
|
|
66
|
+
self.project_id = project_id # "f7943e42-ec69-498e-bf58-8db034b9286e"
|
|
67
|
+
self.app_id = app_id
|
|
68
|
+
# AUTHORIZATION (OTLP)
|
|
69
|
+
self.api_key = api_key
|
|
60
70
|
# HEADERS (OTLP)
|
|
71
|
+
self.headers = {}
|
|
72
|
+
if project_id:
|
|
73
|
+
self.headers.update(**{"AG-PROJECT-ID": project_id})
|
|
74
|
+
if app_id:
|
|
75
|
+
self.headers.update(**{"AG-APP-ID": app_id})
|
|
61
76
|
if api_key:
|
|
62
|
-
self.headers
|
|
77
|
+
self.headers.update(**{"Authorization": self.api_key})
|
|
63
78
|
# REFERENCES
|
|
64
|
-
|
|
65
|
-
self.references["application.id"] = app_id
|
|
79
|
+
self.references = {"application.id": app_id}
|
|
66
80
|
|
|
67
81
|
# TRACER PROVIDER
|
|
68
82
|
self.tracer_provider = TracerProvider(
|
|
69
83
|
resource=Resource(attributes={"service.name": "agenta-sdk"})
|
|
70
84
|
)
|
|
85
|
+
# TRACE PROCESSORS -- CONSOLE
|
|
86
|
+
# _console = TraceProcessor(
|
|
87
|
+
# ConsoleExporter(),
|
|
88
|
+
# references=self.references,
|
|
89
|
+
# )
|
|
90
|
+
# self.tracer_provider.add_span_processor(_console)
|
|
71
91
|
# TRACE PROCESSORS -- INLINE
|
|
72
92
|
self.inline = TraceProcessor(
|
|
73
|
-
InlineExporter(
|
|
74
|
-
registry=self.inline_spans,
|
|
75
|
-
),
|
|
93
|
+
InlineExporter(registry=self.inline_spans),
|
|
76
94
|
references=self.references,
|
|
77
95
|
)
|
|
78
96
|
self.tracer_provider.add_span_processor(self.inline)
|
|
79
97
|
# TRACE PROCESSORS -- OTLP
|
|
80
98
|
try:
|
|
81
|
-
log.info("
|
|
82
|
-
log.info(
|
|
83
|
-
"Agenta SDK - connecting to otlp receiver at: %s",
|
|
84
|
-
self.otlp_url,
|
|
85
|
-
)
|
|
86
|
-
log.info("--------------------------------------------")
|
|
99
|
+
log.info(f"Connecting to the remote trace receiver at {self.otlp_url}...")
|
|
87
100
|
|
|
88
|
-
check(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
timeout=1,
|
|
92
|
-
)
|
|
101
|
+
check(self.otlp_url, headers=self.headers, timeout=1)
|
|
102
|
+
|
|
103
|
+
log.info(f"Connection established.")
|
|
93
104
|
|
|
94
105
|
_otlp = TraceProcessor(
|
|
95
|
-
OTLPExporter(
|
|
96
|
-
endpoint=self.otlp_url,
|
|
97
|
-
headers=self.headers,
|
|
98
|
-
),
|
|
106
|
+
OTLPExporter(endpoint=self.otlp_url, headers=self.headers),
|
|
99
107
|
references=self.references,
|
|
100
108
|
)
|
|
101
109
|
|
|
102
110
|
self.tracer_provider.add_span_processor(_otlp)
|
|
103
|
-
|
|
104
|
-
log.
|
|
105
|
-
log.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
log.warning("--------------------------------------------")
|
|
110
|
-
|
|
111
|
+
except Exception as e:
|
|
112
|
+
log.error(e)
|
|
113
|
+
log.warning(f"Connection failed.")
|
|
114
|
+
log.warning(
|
|
115
|
+
f"Warning: Your traces will not be exported since {self.otlp_url} is unreachable."
|
|
116
|
+
)
|
|
111
117
|
# GLOBAL TRACER PROVIDER -- INSTRUMENTATION LIBRARIES
|
|
112
118
|
set_tracer_provider(self.tracer_provider)
|
|
113
119
|
# TRACER
|
|
114
120
|
self.tracer: Tracer = self.tracer_provider.get_tracer("agenta.tracer")
|
|
115
121
|
|
|
116
|
-
def get_current_span(
|
|
122
|
+
def get_current_span(
|
|
123
|
+
self,
|
|
124
|
+
):
|
|
117
125
|
_span = None
|
|
118
126
|
|
|
119
127
|
with suppress():
|
|
@@ -133,10 +141,7 @@ class Tracing(metaclass=Singleton):
|
|
|
133
141
|
if span is None:
|
|
134
142
|
span = self.get_current_span()
|
|
135
143
|
|
|
136
|
-
span.set_attributes(
|
|
137
|
-
attributes={"internals": attributes},
|
|
138
|
-
namespace="data",
|
|
139
|
-
)
|
|
144
|
+
span.set_attributes(attributes={"internals": attributes}, namespace="data")
|
|
140
145
|
|
|
141
146
|
def store_refs(
|
|
142
147
|
self,
|
|
@@ -148,14 +153,13 @@ class Tracing(metaclass=Singleton):
|
|
|
148
153
|
span = self.get_current_span()
|
|
149
154
|
|
|
150
155
|
for key in refs.keys():
|
|
151
|
-
if key in
|
|
156
|
+
if key in Reference:
|
|
152
157
|
# ADD REFERENCE TO THIS SPAN
|
|
153
158
|
span.set_attribute(
|
|
154
159
|
key.value if isinstance(key, Enum) else key,
|
|
155
160
|
refs[key],
|
|
156
161
|
namespace="refs",
|
|
157
162
|
)
|
|
158
|
-
|
|
159
163
|
# AND TO ALL SPANS CREATED AFTER THIS ONE
|
|
160
164
|
self.references[key] = refs[key]
|
|
161
165
|
# TODO: THIS SHOULD BE REPLACED BY A TRACE CONTEXT !!!
|
|
@@ -171,11 +175,7 @@ class Tracing(metaclass=Singleton):
|
|
|
171
175
|
|
|
172
176
|
for key in meta.keys():
|
|
173
177
|
if is_valid_attribute_key(key):
|
|
174
|
-
span.set_attribute(
|
|
175
|
-
key,
|
|
176
|
-
meta[key],
|
|
177
|
-
namespace="meta",
|
|
178
|
-
)
|
|
178
|
+
span.set_attribute(key, meta[key], namespace="meta")
|
|
179
179
|
|
|
180
180
|
def store_metrics(
|
|
181
181
|
self,
|
|
@@ -188,11 +188,7 @@ class Tracing(metaclass=Singleton):
|
|
|
188
188
|
|
|
189
189
|
for key in metrics.keys():
|
|
190
190
|
if is_valid_attribute_key(key):
|
|
191
|
-
span.set_attribute(
|
|
192
|
-
key,
|
|
193
|
-
metrics[key],
|
|
194
|
-
namespace="metrics",
|
|
195
|
-
)
|
|
191
|
+
span.set_attribute(key, metrics[key], namespace="metrics")
|
|
196
192
|
|
|
197
193
|
def is_inline_trace_ready(
|
|
198
194
|
self,
|
|
@@ -219,14 +215,14 @@ class Tracing(metaclass=Singleton):
|
|
|
219
215
|
otel_spans = self.inline.fetch(trace_id)
|
|
220
216
|
|
|
221
217
|
if otel_spans:
|
|
222
|
-
_inline_trace = parse_inline_trace(
|
|
218
|
+
_inline_trace = parse_inline_trace(
|
|
219
|
+
self.project_id or self.app_id, otel_spans
|
|
220
|
+
)
|
|
223
221
|
|
|
224
222
|
return _inline_trace
|
|
225
223
|
|
|
226
224
|
|
|
227
|
-
def get_tracer(
|
|
228
|
-
tracing: Tracing,
|
|
229
|
-
) -> Tracer:
|
|
225
|
+
def get_tracer(tracing: Tracing) -> Tracer:
|
|
230
226
|
if tracing is None or tracing.tracer is None or tracing.tracer_provider is None:
|
|
231
227
|
return get_tracer_provider().get_tracer("default.tracer")
|
|
232
228
|
|
agenta/sdk/types.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import json
|
|
2
|
-
from dataclasses import dataclass
|
|
3
2
|
from typing import Dict, List, Optional, Any, Union
|
|
4
3
|
|
|
5
4
|
from pydantic import ConfigDict, BaseModel, HttpUrl
|
|
5
|
+
from dataclasses import dataclass
|
|
6
|
+
from typing import Union
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
@dataclass
|
|
@@ -185,63 +186,3 @@ class FileInputURL(HttpUrl):
|
|
|
185
186
|
@classmethod
|
|
186
187
|
def __schema_type_properties__(cls) -> dict:
|
|
187
188
|
return {"x-parameter": "file_url", "type": "string"}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
class Context(BaseModel):
|
|
191
|
-
model_config = ConfigDict(extra="allow")
|
|
192
|
-
|
|
193
|
-
def to_json(self):
|
|
194
|
-
return self.model_dump()
|
|
195
|
-
|
|
196
|
-
@classmethod
|
|
197
|
-
def from_json(cls, json_str: str):
|
|
198
|
-
data = json.loads(json_str)
|
|
199
|
-
return cls(**data)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
class ReferencesResponse(BaseModel):
|
|
203
|
-
app_id: Optional[str] = None
|
|
204
|
-
app_slug: Optional[str] = None
|
|
205
|
-
variant_id: Optional[str] = None
|
|
206
|
-
variant_slug: Optional[str] = None
|
|
207
|
-
variant_version: Optional[int] = None
|
|
208
|
-
environment_id: Optional[str] = None
|
|
209
|
-
environment_slug: Optional[str] = None
|
|
210
|
-
environment_version: Optional[int] = None
|
|
211
|
-
|
|
212
|
-
def __str__(self):
|
|
213
|
-
return str(self.model_dump(exclude_none=True))
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
class LifecyclesResponse(ReferencesResponse):
|
|
217
|
-
committed_at: Optional[str] = None
|
|
218
|
-
committed_by: Optional[str] = None
|
|
219
|
-
committed_by_id: Optional[str] = None
|
|
220
|
-
deployed_at: Optional[str] = None
|
|
221
|
-
deployed_by: Optional[str] = None
|
|
222
|
-
deployed_by_id: Optional[str] = None
|
|
223
|
-
|
|
224
|
-
def __str__(self):
|
|
225
|
-
return self.model_dump_json(indent=4)
|
|
226
|
-
|
|
227
|
-
def __repr__(self):
|
|
228
|
-
return self.__str__()
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
class ConfigurationResponse(LifecyclesResponse):
|
|
232
|
-
params: Dict[str, Any]
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
class DeploymentResponse(LifecyclesResponse):
|
|
236
|
-
pass
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
class Prompt(BaseModel):
|
|
240
|
-
temperature: float
|
|
241
|
-
model: str
|
|
242
|
-
max_tokens: int
|
|
243
|
-
prompt_system: str
|
|
244
|
-
prompt_user: str
|
|
245
|
-
top_p: float
|
|
246
|
-
frequency_penalty: float
|
|
247
|
-
presence_penalty: float
|
agenta/sdk/utils/exceptions.py
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
from contextlib import AbstractContextManager
|
|
2
2
|
from traceback import format_exc
|
|
3
|
-
from functools import wraps
|
|
4
|
-
from inspect import iscoroutinefunction
|
|
5
|
-
|
|
6
3
|
from agenta.sdk.utils.logging import log
|
|
7
4
|
|
|
8
5
|
|
|
9
|
-
class suppress(AbstractContextManager):
|
|
6
|
+
class suppress(AbstractContextManager):
|
|
10
7
|
def __init__(self):
|
|
11
8
|
pass
|
|
12
9
|
|
|
@@ -23,30 +20,3 @@ class suppress(AbstractContextManager): # pylint: disable=invalid-name
|
|
|
23
20
|
log.error(format_exc().strip("\n"))
|
|
24
21
|
log.error("-------------------------------------------------")
|
|
25
22
|
return True
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
def handle_exceptions():
|
|
29
|
-
def decorator(func):
|
|
30
|
-
is_coroutine_function = iscoroutinefunction(func)
|
|
31
|
-
|
|
32
|
-
@wraps(func)
|
|
33
|
-
async def async_wrapper(*args, **kwargs):
|
|
34
|
-
try:
|
|
35
|
-
return await func(*args, **kwargs)
|
|
36
|
-
except Exception as e:
|
|
37
|
-
log.error("--- HANDLING EXCEPTION ---")
|
|
38
|
-
log.error("--------------------------")
|
|
39
|
-
raise e
|
|
40
|
-
|
|
41
|
-
@wraps(func)
|
|
42
|
-
def sync_wrapper(*args, **kwargs):
|
|
43
|
-
try:
|
|
44
|
-
return func(*args, **kwargs)
|
|
45
|
-
except Exception as e:
|
|
46
|
-
log.error("--- HANDLING EXCEPTION ---")
|
|
47
|
-
log.error("--------------------------")
|
|
48
|
-
raise e
|
|
49
|
-
|
|
50
|
-
return async_wrapper if is_coroutine_function else sync_wrapper
|
|
51
|
-
|
|
52
|
-
return decorator
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
agenta/__init__.py,sha256=
|
|
1
|
+
agenta/__init__.py,sha256=6NgtqH14bL5M25Kqy2F8KueChz1snciKiIxho__i_UI,970
|
|
2
2
|
agenta/cli/evaluation_commands.py,sha256=fs6492tprPId9p8eGO02Xy-NCBm2RZNJLZWcUxugwd8,474
|
|
3
|
-
agenta/cli/helper.py,sha256=
|
|
3
|
+
agenta/cli/helper.py,sha256=vRxHyeNaltzNIGrfU2vO0H28_rXDzx9QqIZ_S-W6zL4,6212
|
|
4
4
|
agenta/cli/main.py,sha256=Wz0ODhoeKK3Qg_CFUhu6D909szk05tc8ZVBB6H1-w7k,9763
|
|
5
5
|
agenta/cli/telemetry.py,sha256=GaFFRsE_NtrcSSJ10r2jhgFs5Sk8gf2C09Ox3gOr3eU,1317
|
|
6
6
|
agenta/cli/variant_commands.py,sha256=HfKRZsajKOXwZD2OyzjSfNtSx1yI01wI1cfqpvoHETI,17400
|
|
@@ -9,63 +9,61 @@ agenta/client/Readme.md,sha256=K-By3bNRzUIN5VgQ98pKjw4DgCM-JlcxbW0Fsj02P6M,2903
|
|
|
9
9
|
agenta/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
agenta/client/api.py,sha256=r5pwYD8DWppDrV4xaNYwUmwMLjWVNfVzxK_clIboEWg,2434
|
|
11
11
|
agenta/client/api_models.py,sha256=zebfE2-0-SW1SvzyarzmSJMXqyiCLKrX2sHpzoX-RnU,623
|
|
12
|
-
agenta/client/backend/__init__.py,sha256
|
|
12
|
+
agenta/client/backend/__init__.py,sha256=-vfan7YuXI5AR9m3AaqrePk-HJylFG0rXtBNxJxa8ww,4013
|
|
13
13
|
agenta/client/backend/apps/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
14
|
-
agenta/client/backend/apps/client.py,sha256=
|
|
14
|
+
agenta/client/backend/apps/client.py,sha256=9rWax7LlEIpXdqq4McPAkvwHweSTomnyrFxFo8ehYy0,54136
|
|
15
15
|
agenta/client/backend/bases/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
16
16
|
agenta/client/backend/bases/client.py,sha256=BZsz5eXaa2voZdJXqgd5J5hPUuYvWwIcPCWyl49w-oY,6028
|
|
17
|
-
agenta/client/backend/client.py,sha256=
|
|
17
|
+
agenta/client/backend/client.py,sha256=k262wVUWPYWbZhLiZec7sTLfh8CD7tfCYdFKyLqUMi0,102659
|
|
18
18
|
agenta/client/backend/configs/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
19
19
|
agenta/client/backend/configs/client.py,sha256=qtrRdRuNIZBjh9Ykj7eNKhocp7dFdFQoDSbUduVjKJ0,19089
|
|
20
20
|
agenta/client/backend/containers/__init__.py,sha256=Haw2PwiPhNvM26PLQN57jY0bN-QqPoDG4VA-P_uGL3A,153
|
|
21
|
-
agenta/client/backend/containers/client.py,sha256=
|
|
21
|
+
agenta/client/backend/containers/client.py,sha256=XRFlR9hh_Z6oNKqM0BuNuxZ3vonC-9zgHXWVnzPEay8,20132
|
|
22
22
|
agenta/client/backend/containers/types/__init__.py,sha256=b6yQ-p_vsI5cpKh-Qa8xNE-M5nLHjfBvfgD4JIhqEkY,176
|
|
23
23
|
agenta/client/backend/containers/types/container_templates_response.py,sha256=IFmEkCII_FebAt3ENZByzAYXMB1vgQEeIaSPTLSzG5M,189
|
|
24
|
-
agenta/client/backend/core/__init__.py,sha256=
|
|
24
|
+
agenta/client/backend/core/__init__.py,sha256=FzSvKbXjuM18Hdk3iGK-jsGY_DfouyRS659thZV5c1Y,1394
|
|
25
25
|
agenta/client/backend/core/api_error.py,sha256=TtMtCdxXjd7Tasc9c8ooFg124nPrb2MXG-tKOXV4u9I,440
|
|
26
|
-
agenta/client/backend/core/client_wrapper.py,sha256=
|
|
26
|
+
agenta/client/backend/core/client_wrapper.py,sha256=mU22mZBjz2QXalKJLDGo1qNeAt1awLxRMO8fzbPbnr8,1829
|
|
27
27
|
agenta/client/backend/core/datetime_utils.py,sha256=BHjt_H3WVslcuPsr6qjJoVif_SsdLvFN0c43ABE5UiQ,1069
|
|
28
|
-
agenta/client/backend/core/file.py,sha256=
|
|
29
|
-
agenta/client/backend/core/http_client.py,sha256=
|
|
28
|
+
agenta/client/backend/core/file.py,sha256=vliNmlB7PbDfi4EKiVPNq5QaGXJ4zlDBGupv7Qciy7g,1520
|
|
29
|
+
agenta/client/backend/core/http_client.py,sha256=1ORQxbKS0c6nMbeiANucMrlwUImmLXlCfjBbR_W-LSY,20440
|
|
30
30
|
agenta/client/backend/core/jsonable_encoder.py,sha256=SHXw4G4n-f0IPgNkxj_-Fip3kN8NUAI-YrKxdZw8kl0,3662
|
|
31
|
-
agenta/client/backend/core/pydantic_utilities.py,sha256=
|
|
31
|
+
agenta/client/backend/core/pydantic_utilities.py,sha256=sLzQZQLS_y66SZSBMtJE7YrQK8INda-ta1tKwAHabGk,7540
|
|
32
32
|
agenta/client/backend/core/query_encoder.py,sha256=8qYl5VPl1jU4cDF0X7oSU_DXjlVWY5ayigFBpNTMGOA,2150
|
|
33
33
|
agenta/client/backend/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
|
|
34
|
-
agenta/client/backend/core/request_options.py,sha256=
|
|
35
|
-
agenta/client/backend/core/serialization.py,sha256=
|
|
34
|
+
agenta/client/backend/core/request_options.py,sha256=5cCGt5AEGgtP5xifDl4oVQUmSjlIA8FmRItAlJawM18,1417
|
|
35
|
+
agenta/client/backend/core/serialization.py,sha256=Y0r8sJwxpA1a29ZuIpZ5sf9LEbeg43DTcv9voyLKxk8,5962
|
|
36
36
|
agenta/client/backend/environments/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
37
37
|
agenta/client/backend/environments/client.py,sha256=JG980MafNEcMX60gCtLdPQb8Ja6R603CKBPTD2Vz-qo,6038
|
|
38
38
|
agenta/client/backend/errors/__init__.py,sha256=pbbVUFtB9LCocA1RMWMMF_RKjsy5YkOKX5BAuE49w6g,170
|
|
39
39
|
agenta/client/backend/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBRdk4so_gCHjYT5PyZe6sM,313
|
|
40
40
|
agenta/client/backend/evaluations/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
41
|
-
agenta/client/backend/evaluations/client.py,sha256=
|
|
41
|
+
agenta/client/backend/evaluations/client.py,sha256=CB5sGhqY8sJFgJZf-Tn3odzjaUwad_YOW5L2NAd6j4Y,46357
|
|
42
42
|
agenta/client/backend/evaluators/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
43
|
-
agenta/client/backend/evaluators/client.py,sha256=
|
|
43
|
+
agenta/client/backend/evaluators/client.py,sha256=YGsFQRf70dxYWb0IHmu_bMRsw8Pre-wcshTyvIDm5vM,28684
|
|
44
44
|
agenta/client/backend/observability/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
45
|
-
agenta/client/backend/observability/client.py,sha256=
|
|
45
|
+
agenta/client/backend/observability/client.py,sha256=yvdodh76GS0kge2nZXNOQInQLv555BYF54EXF3_CyKE,39240
|
|
46
46
|
agenta/client/backend/testsets/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
47
|
-
agenta/client/backend/testsets/client.py,sha256=
|
|
48
|
-
agenta/client/backend/types/__init__.py,sha256=
|
|
47
|
+
agenta/client/backend/testsets/client.py,sha256=9P8T4iMqTnGMBnkb0AllqdGlSHD2BB7QmLS9dmfGybY,35193
|
|
48
|
+
agenta/client/backend/types/__init__.py,sha256=khxcL80swPldYIYUzt2Tknzzk0PchL7UjeRiJqEL4Gk,5166
|
|
49
49
|
agenta/client/backend/types/aggregated_result.py,sha256=4WPjBzQSyPW-Q91XuBbtsicHtupzAFgnz065jpYVKi0,747
|
|
50
50
|
agenta/client/backend/types/aggregated_result_evaluator_config.py,sha256=GzU358rxyXbiDvpf9i6LqSTaHuirZV8XoodAdPKi-uY,243
|
|
51
|
-
agenta/client/backend/types/app.py,sha256=
|
|
52
|
-
agenta/client/backend/types/app_variant_response.py,sha256=
|
|
51
|
+
agenta/client/backend/types/app.py,sha256=_6bnVodk9xT3xgeEbnxiOa_eDNSYWa_yBLJPQOoaU8k,588
|
|
52
|
+
agenta/client/backend/types/app_variant_response.py,sha256=B1EmFbNs_tRZ1OxytAo3h9pQ1c4pN-BL0e-GFgfI-Yo,999
|
|
53
53
|
agenta/client/backend/types/app_variant_revision.py,sha256=PlBmaus97LdGhUHcIVdNEvfsYvsKnmtoupjAvclecRY,681
|
|
54
54
|
agenta/client/backend/types/base_output.py,sha256=_cYuHdi6THNGEeDmvTb1yo82JlvV9-aCVLHcl4Q-UCY,597
|
|
55
55
|
agenta/client/backend/types/body_import_testset.py,sha256=J-AH8SkA6mWgNZ5vIz12xpnhPCdZybctxQ5INVxhxgc,696
|
|
56
56
|
agenta/client/backend/types/config_db.py,sha256=nCM_3WKTCP3zko26wys5wTSn2cun9OYclwMp_vY5qjE,666
|
|
57
|
-
agenta/client/backend/types/config_dto.py,sha256=x13NXqJd46LDN5w5ejj93HkeZay_nYWvH-7xq3yVM90,1207
|
|
58
|
-
agenta/client/backend/types/config_response_model.py,sha256=v14K15XdzX9dSYb3I6Q0BMneGaKKbrmXsJTk6xAkr20,1217
|
|
59
57
|
agenta/client/backend/types/correct_answer.py,sha256=khEHspf9nszpzhswc7rSruCrcmvVdHFm7ti8JRdpXyI,592
|
|
60
58
|
agenta/client/backend/types/create_app_output.py,sha256=0_avs1u3pIU14P5ut1WOUrravDwpg2GkSj8kYsAMK9Y,600
|
|
61
|
-
agenta/client/backend/types/create_span.py,sha256=
|
|
59
|
+
agenta/client/backend/types/create_span.py,sha256=ka5f5ia8N_VjlSqdkapbDGaYobdqfduKCLNP6clbPig,1567
|
|
62
60
|
agenta/client/backend/types/create_trace_response.py,sha256=Pr1NM9nLHiPVzCP8m7VQ1NIb92fOhJTmMlEUK6FrykI,643
|
|
63
61
|
agenta/client/backend/types/docker_env_vars.py,sha256=td2vhkHyYCwIC_TjlUu7hDuIXsfSJH2L7J_wGaNvw_c,600
|
|
64
|
-
agenta/client/backend/types/environment_output.py,sha256=
|
|
65
|
-
agenta/client/backend/types/environment_output_extended.py,sha256=
|
|
62
|
+
agenta/client/backend/types/environment_output.py,sha256=BuQNgdo07gAlHgC8RSV3Aq-IRpSwi3jai-jbyrTi8OQ,913
|
|
63
|
+
agenta/client/backend/types/environment_output_extended.py,sha256=ZlpB50ea_j9COluArHYRJb1SfUrtrVmI5AEm3k8aOO4,1023
|
|
66
64
|
agenta/client/backend/types/environment_revision.py,sha256=fZPYZCnXAiRZSp9trp4huruCUcaanyrXnC7WF6-GhXg,748
|
|
67
65
|
agenta/client/backend/types/error.py,sha256=9efIET--nIU5El4GNEdYvkhtqIF5LtgxniKg0SookgE,617
|
|
68
|
-
agenta/client/backend/types/evaluation.py,sha256=
|
|
66
|
+
agenta/client/backend/types/evaluation.py,sha256=h2SWBFONuMQiz5uFFg8wtcQbayLvx0a_EOJ72vznoEU,1238
|
|
69
67
|
agenta/client/backend/types/evaluation_scenario.py,sha256=AAEZS19leBYMF5ZTlXFCD5ZqAIpu1iHnN7V5KVXtKAA,1168
|
|
70
68
|
agenta/client/backend/types/evaluation_scenario_input.py,sha256=KQYQIL6RXa2C2K6JNwZXXlW9nFYw-xqCJqY5qlp8mco,648
|
|
71
69
|
agenta/client/backend/types/evaluation_scenario_output.py,sha256=-XoVgjhJryWb3XrFuEQ0s0O3TV3BsHQltehYUnxThzA,704
|
|
@@ -73,13 +71,11 @@ agenta/client/backend/types/evaluation_scenario_result.py,sha256=wOs3-2ucAL6rizT
|
|
|
73
71
|
agenta/client/backend/types/evaluation_scenario_score_update.py,sha256=xkyk7DKj99WkuWcOTOmTZ67G_GIaBVTrGUuy7Erfjec,597
|
|
74
72
|
agenta/client/backend/types/evaluation_status_enum.py,sha256=U0yabhF9EZqb0MU13MhLsuOa2wQmUQHGWDS0qawwvfE,370
|
|
75
73
|
agenta/client/backend/types/evaluation_type.py,sha256=FaI9rLp1QBUl5EE9xKtlxFhCDdcKGOx8NPcAWn3ct5o,186
|
|
76
|
-
agenta/client/backend/types/evaluator.py,sha256=
|
|
77
|
-
agenta/client/backend/types/evaluator_config.py,sha256=
|
|
78
|
-
agenta/client/backend/types/evaluator_mapping_output_interface.py,sha256=KiQzlq7UCks_32TcMeF9nqYQUJK8jpxIL7HYi5ar-7s,641
|
|
79
|
-
agenta/client/backend/types/evaluator_output_interface.py,sha256=r4aU7-fUBMvdXzbJIeQ9aoFiIhH58Ofmkn_BKpTMJko,634
|
|
74
|
+
agenta/client/backend/types/evaluator.py,sha256=TQgGEL_w5e6hMr2roZdO8PpOwyRXT2LvVDKWufm06n4,760
|
|
75
|
+
agenta/client/backend/types/evaluator_config.py,sha256=G-NCQxA4SBk00ClhdhKZcqZFS80usBWb2wR9-un4L4E,760
|
|
80
76
|
agenta/client/backend/types/get_config_response.py,sha256=uNaeYEq3VCNm3uZ1mNnxBhDzrNz0LYjuz984ASEk5Fk,676
|
|
81
77
|
agenta/client/backend/types/http_validation_error.py,sha256=bMxjckCqPguIznV-z-517GS-d2EXC9wJEg0XCcQfq_E,681
|
|
82
|
-
agenta/client/backend/types/human_evaluation.py,sha256=
|
|
78
|
+
agenta/client/backend/types/human_evaluation.py,sha256=aLtloRMxDp1jfVW50rBiMxD2A6xDVM8NOFzNnOWuLso,903
|
|
83
79
|
agenta/client/backend/types/human_evaluation_scenario.py,sha256=GZFGdki4Rlfly7RUhNrWpS2x8N0fHelHdk55YtxY3l0,1127
|
|
84
80
|
agenta/client/backend/types/human_evaluation_scenario_input.py,sha256=4iT1sH_hM6gOFmVicewPONFOvz_cW-Dh6HoNU-tCC0E,620
|
|
85
81
|
agenta/client/backend/types/human_evaluation_scenario_output.py,sha256=yVEFImNXK3qSy83AL3X5qypUOgJ__fumLj1bNgXgPXk,624
|
|
@@ -87,10 +83,9 @@ agenta/client/backend/types/human_evaluation_scenario_update.py,sha256=eh33QTkJN
|
|
|
87
83
|
agenta/client/backend/types/human_evaluation_update.py,sha256=PDtYJDYLEfYRaJuG6eqavgXpNhE-LDK81i9qNo7QD7s,686
|
|
88
84
|
agenta/client/backend/types/image.py,sha256=Q8mnZynlIHHwlu3XRarjJAzgfadl87qPJ-fqH2WqQBw,722
|
|
89
85
|
agenta/client/backend/types/invite_request.py,sha256=ZYcO4_O5Jjnz6uDwcFUoQ1Bn-A0F9t2S3rQTx9arwJc,607
|
|
90
|
-
agenta/client/backend/types/lifecycle_dto.py,sha256=jgOgDkq5m2zQ2S2d4USivPi-sZ2J0eaadwYv2LnghYU,742
|
|
91
86
|
agenta/client/backend/types/list_api_keys_response.py,sha256=av8nz-yhcOYiLZEfnJDxr37W7r1C8VnLLoeSgJwQSY0,701
|
|
92
87
|
agenta/client/backend/types/llm_run_rate_limit.py,sha256=XiPGznCpdS-lPDiswj6pX5aIxhMuOfGCOda7IPcB0q8,659
|
|
93
|
-
agenta/client/backend/types/llm_tokens.py,sha256
|
|
88
|
+
agenta/client/backend/types/llm_tokens.py,sha256=3TjGNWX1vh0cbj93J6KeXgDP8ZysFXYiH6n8HnA2VYA,706
|
|
94
89
|
agenta/client/backend/types/lm_providers_enum.py,sha256=TetfW4xvX51XlTuu7t6OZ6Bvhq4XXIB7Ro8jKnD2wkE,494
|
|
95
90
|
agenta/client/backend/types/new_human_evaluation.py,sha256=Rp_cu_ApObG7QBT-Hkvwer604gO6P3QnVwpIfLv0Q38,764
|
|
96
91
|
agenta/client/backend/types/new_testset.py,sha256=S8ENb_fu5CeyxTvjN5ojXuVoaauNKgfwE738svFhWNY,647
|
|
@@ -98,79 +93,73 @@ agenta/client/backend/types/organization.py,sha256=U8xVumZUcp5GnrRNJIHmaqibnxsVd
|
|
|
98
93
|
agenta/client/backend/types/organization_output.py,sha256=dXkUHfNfp_ho220_sb7EX3YmE2AqYc4rlsYngV3ELBI,595
|
|
99
94
|
agenta/client/backend/types/outputs.py,sha256=iSON-p8Feeq3laC5PK3BFe20GqLGSbYU5eI8viyvw-Y,168
|
|
100
95
|
agenta/client/backend/types/permission.py,sha256=Pwg68fQo2U3sZdyeTYwRBkKGTVsGv3_1gizwREmfuk4,1104
|
|
101
|
-
agenta/client/backend/types/reference_dto.py,sha256=VNLakAy13glLgEPIXH9o_3vcPflPkQJdo0o113lPURc,678
|
|
102
|
-
agenta/client/backend/types/reference_request_model.py,sha256=nhf4VUAfAJ-vf9fbOhcTrxk6uuqMFSoy0NhChY9Y0VQ,687
|
|
103
96
|
agenta/client/backend/types/result.py,sha256=6qD2kzmdzu8q4ywLtAyWLQEDHw-Cu5xN5GLCV-FI7_Y,700
|
|
104
97
|
agenta/client/backend/types/score.py,sha256=OAur_nJtRQmpboZfzFi2l1-zmNxFfETcl13C7OAvpMw,111
|
|
105
98
|
agenta/client/backend/types/simple_evaluation_output.py,sha256=XBm4IVY28brTIYrRQVUK7tFmxUUnqL6nKgVW5_E9PbM,731
|
|
106
|
-
agenta/client/backend/types/span.py,sha256=
|
|
107
|
-
agenta/client/backend/types/span_detail.py,sha256=
|
|
99
|
+
agenta/client/backend/types/span.py,sha256=A5nNVYsG2b4h49xuj9K13mfJpV5_-_DuAIKMbuq-BmM,1234
|
|
100
|
+
agenta/client/backend/types/span_detail.py,sha256=kyt0Oxl4sd6iFWLgLeTr6NdKwJlV8DKQ35iy9qRdC5w,1222
|
|
108
101
|
agenta/client/backend/types/span_status_code.py,sha256=h1D60dDCfmCI10d79QXPbgpYa4Q3n6LhEsCj9dBaxpU,162
|
|
109
102
|
agenta/client/backend/types/span_variant.py,sha256=MxGbLEYlkTge7mJcvwhhZDXdHUOOH436DEoZ9To_TAk,694
|
|
110
103
|
agenta/client/backend/types/template.py,sha256=O-2LZEElxLj4LbslKqFY8EzlkCzFSwfYMXkHcfh5XM4,651
|
|
111
104
|
agenta/client/backend/types/template_image_info.py,sha256=Bodh11Vi35CNGMmtQgLMjTi8rcUB5oNERcVwHnu4V6c,860
|
|
112
|
-
agenta/client/backend/types/test_set_output_response.py,sha256=
|
|
105
|
+
agenta/client/backend/types/test_set_output_response.py,sha256=XuifxiNgMeWU7-GpzYZJ7f8jzQsUeZ_VbbBozNX1aE8,648
|
|
113
106
|
agenta/client/backend/types/test_set_simple_response.py,sha256=dNftvPtUnNiGJKP9VzTFnjh3ffKxPocAG4sd45ZbHkg,618
|
|
114
|
-
agenta/client/backend/types/trace_detail.py,sha256=
|
|
107
|
+
agenta/client/backend/types/trace_detail.py,sha256=bXQp-mTQ_nD0CA-raDyzO9Si1CALNhbv3UqUj7MzECE,1223
|
|
115
108
|
agenta/client/backend/types/update_app_output.py,sha256=VOZS9MM_eNY2tVD7cnjiP-tUodAbuaRZed7KTONi1-E,600
|
|
116
109
|
agenta/client/backend/types/uri.py,sha256=tiY_sNZOWfG2INOhsthGx9QMnN_5Ibrqi68AkPHyDvw,567
|
|
117
110
|
agenta/client/backend/types/validation_error.py,sha256=nNDCxS4lCvY-79Yfwcnth5a1RXm51EZ_tMCbxnmzbAQ,700
|
|
118
111
|
agenta/client/backend/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
119
112
|
agenta/client/backend/types/variant_action.py,sha256=m3SWsIZF9rPfFSh3ypDA5vawKiTHwI_7_SfhyQO3OoU,645
|
|
120
113
|
agenta/client/backend/types/variant_action_enum.py,sha256=KZzhy-BKA9m8zwZlmoESywDQIn-VGyI2qCRr9-tqaks,158
|
|
121
|
-
agenta/client/backend/types/with_pagination.py,sha256=
|
|
114
|
+
agenta/client/backend/types/with_pagination.py,sha256=yI6jR7VxcyGdboTnkJwVarJtARwiJViZgpGHAknHAyk,699
|
|
122
115
|
agenta/client/backend/types/workspace_member_response.py,sha256=-iF-xitcARF6FqGkQKojf06O7GU2oDRbvI0mpu2Clyk,728
|
|
123
116
|
agenta/client/backend/types/workspace_permission.py,sha256=f-e3FUDOIyTmORW2P-K38WOJy3r1g5sZVBl6VUHAt74,791
|
|
124
117
|
agenta/client/backend/types/workspace_response.py,sha256=n1884dwY4C9Gm-JCyprnLfOxAVg4j9SsXL7hQdwsUl8,924
|
|
125
118
|
agenta/client/backend/types/workspace_role.py,sha256=k-ltfq7aAWGg85tTPIf8HpFMMf4gu02_X8R2fFPmB7U,286
|
|
126
119
|
agenta/client/backend/types/workspace_role_response.py,sha256=6hlRcsMmpf6Q0ejLzRKJiZo_9rygazcbJfpPq2jQZVw,693
|
|
127
120
|
agenta/client/backend/variants/__init__.py,sha256=BMR4SvsrqXC9FU8nPVzY8M9xGrBEhEGrmbgvy3iM1aE,171
|
|
128
|
-
agenta/client/backend/variants/client.py,sha256=
|
|
121
|
+
agenta/client/backend/variants/client.py,sha256=d7y45zaOZaXx5S_CaYB7Qc5-ATWwtLzRPgTufJa90os,46444
|
|
129
122
|
agenta/client/backend/variants/types/__init__.py,sha256=TrRUAyPsJ1bKg2gfW0d_S1rEu6eaYnHmr2g_URTuwPU,216
|
|
130
123
|
agenta/client/backend/variants/types/add_variant_from_base_and_config_response.py,sha256=nbcakmo3eZpWmyX_DhS6F4jyhfV2t5zN-zOgDtM2rKQ,247
|
|
131
124
|
agenta/client/client.py,sha256=DWOGS9A8u4wu28s9jGOR4eRhf7vo4zT7GyDvrIGu59Y,19648
|
|
132
125
|
agenta/client/exceptions.py,sha256=cxLjjKvZKlUgBxt4Vn9J_SsezJPPNHvrZxnoq-D6zmw,94
|
|
133
126
|
agenta/config.py,sha256=0VrTqduB4g8Mt_Ll7ffFcEjKF5qjTUIxmUtTPW2ygWw,653
|
|
134
127
|
agenta/config.toml,sha256=sIORbhnyct2R9lJrquxhNL4pHul3O0R7iaipCoja5MY,193
|
|
135
|
-
agenta/docker/docker-assets/Dockerfile.cloud.template,sha256=
|
|
128
|
+
agenta/docker/docker-assets/Dockerfile.cloud.template,sha256=uJuXKvtkMY6f4KaOh3XE5pmuJR7mfZEXJk_8hj2uatc,386
|
|
136
129
|
agenta/docker/docker-assets/Dockerfile.template,sha256=aVA_okx0xXalcTvdQGhSfzSjNpQZVoLJCGYA39-2Nwk,280
|
|
137
130
|
agenta/docker/docker-assets/README.md,sha256=XHxwh2ks_ozrtAU7SLbL3J14SB2holG6buoTxwmMiZM,102
|
|
138
131
|
agenta/docker/docker-assets/entrypoint.sh,sha256=29XK8VQjQsx4hN2j-4JDy-6kQb5y4LCqZEa7PD4eqCQ,74
|
|
139
132
|
agenta/docker/docker-assets/lambda_function.py,sha256=h4UZSSfqwpfsCgERv6frqwm_4JrYu9rLz3I-LxCfeEg,83
|
|
140
133
|
agenta/docker/docker-assets/main.py,sha256=7MI-21n81U7N7A0GxebNi0cmGWtJKcR2sPB6FcH2QfA,251
|
|
141
134
|
agenta/docker/docker_utils.py,sha256=kO1q2_IR0fEAo4M-2Pt_v-zC7GxxnkLogjKFhU869Ps,3555
|
|
142
|
-
agenta/sdk/__init__.py,sha256
|
|
143
|
-
agenta/sdk/agenta_init.py,sha256=
|
|
135
|
+
agenta/sdk/__init__.py,sha256=IopYEonqvpdGXsAYh2wQ4Ai_2YzsY7aF88wTzrclV4M,1208
|
|
136
|
+
agenta/sdk/agenta_init.py,sha256=hBE78BIu6QFfvaxWY2x7Y7EXAFKx6TSPEtEj2S6qWNU,10606
|
|
144
137
|
agenta/sdk/assets.py,sha256=Zv4i8MVUSB3jMODQon1mzJtYxuntmrCNjLGk8f-2fls,2856
|
|
145
138
|
agenta/sdk/client.py,sha256=trKyBOYFZRk0v5Eptxvh87yPf50Y9CqY6Qgv4Fy-VH4,2142
|
|
139
|
+
agenta/sdk/config_manager.py,sha256=HFOJpJKBkhlA0C-KPuxb4-bHNZeZqdpmx_beoX4lQw8,7997
|
|
146
140
|
agenta/sdk/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
147
|
-
agenta/sdk/context/routing.py,sha256=
|
|
141
|
+
agenta/sdk/context/routing.py,sha256=gOoOM88hSjIjzQ3ni68TjUoq7WtwSH3kB07YjCYvW2c,631
|
|
148
142
|
agenta/sdk/context/tracing.py,sha256=UmmW15UFFsvxS0myS6aD9wBk5iNepNlQi4tEQ_ejfYM,96
|
|
149
143
|
agenta/sdk/decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
|
-
agenta/sdk/decorators/routing.py,sha256=
|
|
151
|
-
agenta/sdk/decorators/tracing.py,sha256=
|
|
144
|
+
agenta/sdk/decorators/routing.py,sha256=L3_bYJ254x6uB4d8_TK47jKIsHrz4kibf3Dlty9UHQM,36026
|
|
145
|
+
agenta/sdk/decorators/tracing.py,sha256=8xvwvM_SR0La4s3S3eBGuozgROyyJxUpSlTn-XkSlQc,11444
|
|
152
146
|
agenta/sdk/litellm/__init__.py,sha256=Bpz1gfHQc0MN1yolWcjifLWznv6GjHggvRGQSpxpihM,37
|
|
153
|
-
agenta/sdk/litellm/litellm.py,sha256=
|
|
154
|
-
agenta/sdk/managers/__init__.py,sha256=SN-LRwG0pRRDV3u2Q4JiiSTigN3-mYpzGNM35RzT4mc,238
|
|
155
|
-
agenta/sdk/managers/config.py,sha256=t6QABH6fMVeSo_IIXBPbhb4w8Nl3KUwfY3ujHP91VVs,11726
|
|
156
|
-
agenta/sdk/managers/deployment.py,sha256=SEokjZeh6n7HRKZ92Y0WncdG49hIFx-Z3B3HAl2kmUg,1174
|
|
157
|
-
agenta/sdk/managers/shared.py,sha256=e53jckQq5PIMpjdxADOonUj7o8aGfzmSvdeH5f43rGs,21497
|
|
158
|
-
agenta/sdk/managers/variant.py,sha256=A5ga3mq3b0weUTXa9HO72MGaspthGcu1uK9K5OnP738,4172
|
|
147
|
+
agenta/sdk/litellm/litellm.py,sha256=j4WyRTQdxLkvelaPm5BfUbaUxkbQXDhyr3yp9yXo1RQ,8289
|
|
159
148
|
agenta/sdk/router.py,sha256=mOguvtOwl2wmyAgOuWTsf98pQwpNiUILKIo67W_hR3A,119
|
|
160
149
|
agenta/sdk/tracing/__init__.py,sha256=rQNe5-zT5Kt7_CDhq-lnUIi1EYTBVzVf_MbfcIxVD98,41
|
|
161
|
-
agenta/sdk/tracing/attributes.py,sha256=
|
|
162
|
-
agenta/sdk/tracing/context.py,sha256=
|
|
163
|
-
agenta/sdk/tracing/conventions.py,sha256=
|
|
164
|
-
agenta/sdk/tracing/exporters.py,sha256=
|
|
165
|
-
agenta/sdk/tracing/inline.py,sha256=
|
|
166
|
-
agenta/sdk/tracing/processors.py,sha256=
|
|
167
|
-
agenta/sdk/tracing/spans.py,sha256=
|
|
168
|
-
agenta/sdk/tracing/tracing.py,sha256=
|
|
169
|
-
agenta/sdk/types.py,sha256=
|
|
150
|
+
agenta/sdk/tracing/attributes.py,sha256=eYVzsAt_2ekDCO_RQ7VrZHuySftFbcRPKaf9lEvXx0E,3815
|
|
151
|
+
agenta/sdk/tracing/context.py,sha256=KDQYjRcmbpb6e0xEuX-bAQGhEjwx4H2nwybRPOKCDjo,578
|
|
152
|
+
agenta/sdk/tracing/conventions.py,sha256=W7-FVjLjnBGiY9cvxFzW4tlsdFwW9l5LLGm8AgMynmM,938
|
|
153
|
+
agenta/sdk/tracing/exporters.py,sha256=hTGbdkuH1rIqT7aRsSIYolQPCq2MxmEfT9IGBn20mRU,1370
|
|
154
|
+
agenta/sdk/tracing/inline.py,sha256=OtYkGMO2XKdLH7t2vqVqteLs8zQCGyM93sCIU-xYD8Y,35163
|
|
155
|
+
agenta/sdk/tracing/processors.py,sha256=PpCJcyhZdr_hNjA_QlM6jtTZj6neUMdA_C5rnx97BfM,2390
|
|
156
|
+
agenta/sdk/tracing/spans.py,sha256=AnQuuyuCGST6n_He4SF5WdrtMts9JlE8v6rVRdm2rRg,3570
|
|
157
|
+
agenta/sdk/tracing/tracing.py,sha256=XIBYRAsQ6bb0hkcybKJNP0uVaPl3dE4NcTYzwlwAOOA,6942
|
|
158
|
+
agenta/sdk/types.py,sha256=B7C7Jpeq0CpmLwmN1dmpggJsZX8WpxyyM42PkdSsx3s,5669
|
|
170
159
|
agenta/sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
171
160
|
agenta/sdk/utils/costs.py,sha256=i8C7ud__pThLS55XkN4YW8czXtGeXr2mx7jjcOFeiXg,5955
|
|
172
161
|
agenta/sdk/utils/debug.py,sha256=DxiCAeXxxrcEZT2CjlNA6BMvujGP4nzQ-rfb-_mLMck,2114
|
|
173
|
-
agenta/sdk/utils/exceptions.py,sha256=
|
|
162
|
+
agenta/sdk/utils/exceptions.py,sha256=joC46DnUE3dg1XOZv_k1PKYxKzRuUPS0Di1TTmGbbH0,731
|
|
174
163
|
agenta/sdk/utils/globals.py,sha256=2HhyzWn55BbYNCZ3rT8dAxk1GGXuGQPbtq_THjaHbBw,372
|
|
175
164
|
agenta/sdk/utils/logging.py,sha256=FKzAO5eHjR_qvpEnc4tKXUA6WftmwdwYwuJK6CbSc84,379
|
|
176
165
|
agenta/sdk/utils/preinit.py,sha256=YlJL7RLfel0R7DFp-jK7OV-z4ZIQJM0oupYlk7g8b5o,1278
|
|
@@ -190,7 +179,7 @@ agenta/templates/simple_prompt/app.py,sha256=kODgF6lhzsaJPdgL5b21bUki6jkvqjWZzWR
|
|
|
190
179
|
agenta/templates/simple_prompt/env.example,sha256=g9AE5bYcGPpxawXMJ96gh8oenEPCHTabsiOnfQo3c5k,70
|
|
191
180
|
agenta/templates/simple_prompt/requirements.txt,sha256=ywRglRy7pPkw8bljmMEJJ4aOOQKrt9FGKULZ-DGkoBU,23
|
|
192
181
|
agenta/templates/simple_prompt/template.toml,sha256=DQBtRrF4GU8LBEXOZ-GGuINXMQDKGTEG5y37tnvIUIE,60
|
|
193
|
-
agenta-0.27.
|
|
194
|
-
agenta-0.27.
|
|
195
|
-
agenta-0.27.
|
|
196
|
-
agenta-0.27.
|
|
182
|
+
agenta-0.27.0a1.dist-info/METADATA,sha256=bEfQsvCNihZnj1whM8giCOO_erFfLN8VjKUUE-Ykt04,31738
|
|
183
|
+
agenta-0.27.0a1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
184
|
+
agenta-0.27.0a1.dist-info/entry_points.txt,sha256=PDiu8_8AsL7ibU9v4iNoOKR1S7F2rdxjlEprjM9QOgo,46
|
|
185
|
+
agenta-0.27.0a1.dist-info/RECORD,,
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
from ..core.pydantic_utilities import UniversalBaseModel
|
|
4
|
-
import typing
|
|
5
|
-
from .reference_dto import ReferenceDto
|
|
6
|
-
from .lifecycle_dto import LifecycleDto
|
|
7
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
|
-
import pydantic
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class ConfigDto(UniversalBaseModel):
|
|
12
|
-
params: typing.Dict[str, typing.Optional[typing.Any]]
|
|
13
|
-
url: typing.Optional[str] = None
|
|
14
|
-
application_ref: typing.Optional[ReferenceDto] = None
|
|
15
|
-
service_ref: typing.Optional[ReferenceDto] = None
|
|
16
|
-
variant_ref: typing.Optional[ReferenceDto] = None
|
|
17
|
-
environment_ref: typing.Optional[ReferenceDto] = None
|
|
18
|
-
application_lifecycle: typing.Optional[LifecycleDto] = None
|
|
19
|
-
service_lifecycle: typing.Optional[LifecycleDto] = None
|
|
20
|
-
variant_lifecycle: typing.Optional[LifecycleDto] = None
|
|
21
|
-
environment_lifecycle: typing.Optional[LifecycleDto] = None
|
|
22
|
-
|
|
23
|
-
if IS_PYDANTIC_V2:
|
|
24
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
|
|
25
|
-
extra="allow", frozen=True
|
|
26
|
-
) # type: ignore # Pydantic v2
|
|
27
|
-
else:
|
|
28
|
-
|
|
29
|
-
class Config:
|
|
30
|
-
frozen = True
|
|
31
|
-
smart_union = True
|
|
32
|
-
extra = pydantic.Extra.allow
|