agenta 0.36.3__py3-none-any.whl → 0.36.4__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 +5 -5
- agenta/client/Readme.md +3 -3
- agenta/client/__init__.py +294 -0
- agenta/client/client.py +3192 -466
- agenta/sdk/__init__.py +5 -5
- agenta/sdk/agenta_init.py +28 -54
- agenta/sdk/client.py +1 -1
- agenta/sdk/managers/shared.py +3 -3
- agenta/sdk/middleware/auth.py +18 -9
- agenta/sdk/middleware/config.py +0 -2
- agenta/sdk/middleware/vault.py +3 -3
- agenta/sdk/types.py +2 -2
- {agenta-0.36.3.dist-info → agenta-0.36.4.dist-info}/METADATA +1 -2
- agenta-0.36.4.dist-info/RECORD +236 -0
- agenta/cli/helper.py +0 -202
- agenta/cli/main.py +0 -229
- agenta/cli/telemetry.py +0 -50
- agenta/cli/variant_commands.py +0 -526
- agenta/cli/variant_configs.py +0 -49
- agenta/client/api.py +0 -74
- agenta/client/api_models.py +0 -34
- agenta/client/backend/__init__.py +0 -294
- agenta/client/backend/client.py +0 -3289
- agenta/client/exceptions.py +0 -2
- agenta/docker/docker-assets/Dockerfile.cloud.template +0 -9
- agenta/docker/docker-assets/Dockerfile.oss.template +0 -13
- agenta/docker/docker-assets/Dockerfile.template +0 -13
- agenta/docker/docker-assets/README.md +0 -1
- agenta/docker/docker-assets/entrypoint.sh +0 -7
- agenta/docker/docker-assets/lambda_function.py +0 -6
- agenta/docker/docker-assets/main.py +0 -13
- agenta/docker/docker_utils.py +0 -100
- agenta-0.36.3.dist-info/RECORD +0 -255
- agenta-0.36.3.dist-info/entry_points.txt +0 -3
- /agenta/client/{backend/access_control → access_control}/__init__.py +0 -0
- /agenta/client/{backend/access_control → access_control}/client.py +0 -0
- /agenta/client/{backend/admin → admin}/__init__.py +0 -0
- /agenta/client/{backend/admin → admin}/client.py +0 -0
- /agenta/client/{backend/apps → apps}/__init__.py +0 -0
- /agenta/client/{backend/apps → apps}/client.py +0 -0
- /agenta/client/{backend/bases → bases}/__init__.py +0 -0
- /agenta/client/{backend/bases → bases}/client.py +0 -0
- /agenta/client/{backend/configs → configs}/__init__.py +0 -0
- /agenta/client/{backend/configs → configs}/client.py +0 -0
- /agenta/client/{backend/containers → containers}/__init__.py +0 -0
- /agenta/client/{backend/containers → containers}/client.py +0 -0
- /agenta/client/{backend/containers → containers}/types/__init__.py +0 -0
- /agenta/client/{backend/containers → containers}/types/container_templates_response.py +0 -0
- /agenta/client/{backend/core → core}/__init__.py +0 -0
- /agenta/client/{backend/core → core}/api_error.py +0 -0
- /agenta/client/{backend/core → core}/client_wrapper.py +0 -0
- /agenta/client/{backend/core → core}/datetime_utils.py +0 -0
- /agenta/client/{backend/core → core}/file.py +0 -0
- /agenta/client/{backend/core → core}/http_client.py +0 -0
- /agenta/client/{backend/core → core}/jsonable_encoder.py +0 -0
- /agenta/client/{backend/core → core}/pydantic_utilities.py +0 -0
- /agenta/client/{backend/core → core}/query_encoder.py +0 -0
- /agenta/client/{backend/core → core}/remove_none_from_dict.py +0 -0
- /agenta/client/{backend/core → core}/request_options.py +0 -0
- /agenta/client/{backend/core → core}/serialization.py +0 -0
- /agenta/client/{backend/environments → environments}/__init__.py +0 -0
- /agenta/client/{backend/environments → environments}/client.py +0 -0
- /agenta/client/{backend/errors → errors}/__init__.py +0 -0
- /agenta/client/{backend/errors → errors}/unprocessable_entity_error.py +0 -0
- /agenta/client/{backend/evaluations → evaluations}/__init__.py +0 -0
- /agenta/client/{backend/evaluations → evaluations}/client.py +0 -0
- /agenta/client/{backend/evaluators → evaluators}/__init__.py +0 -0
- /agenta/client/{backend/evaluators → evaluators}/client.py +0 -0
- /agenta/client/{backend/human_evaluations → human_evaluations}/__init__.py +0 -0
- /agenta/client/{backend/human_evaluations → human_evaluations}/client.py +0 -0
- /agenta/client/{backend/observability → observability}/__init__.py +0 -0
- /agenta/client/{backend/observability → observability}/client.py +0 -0
- /agenta/client/{backend/observability → observability}/types/__init__.py +0 -0
- /agenta/client/{backend/observability → observability}/types/format.py +0 -0
- /agenta/client/{backend/observability → observability}/types/query_analytics_response.py +0 -0
- /agenta/client/{backend/observability → observability}/types/query_traces_response.py +0 -0
- /agenta/client/{backend/scopes → scopes}/__init__.py +0 -0
- /agenta/client/{backend/scopes → scopes}/client.py +0 -0
- /agenta/client/{backend/testsets → testsets}/__init__.py +0 -0
- /agenta/client/{backend/testsets → testsets}/client.py +0 -0
- /agenta/client/{backend/types → types}/__init__.py +0 -0
- /agenta/client/{backend/types → types}/account_response.py +0 -0
- /agenta/client/{backend/types → types}/agenta_node_dto.py +0 -0
- /agenta/client/{backend/types → types}/agenta_node_dto_nodes_value.py +0 -0
- /agenta/client/{backend/types → types}/agenta_nodes_response.py +0 -0
- /agenta/client/{backend/types → types}/agenta_root_dto.py +0 -0
- /agenta/client/{backend/types → types}/agenta_roots_response.py +0 -0
- /agenta/client/{backend/types → types}/agenta_tree_dto.py +0 -0
- /agenta/client/{backend/types → types}/agenta_trees_response.py +0 -0
- /agenta/client/{backend/types → types}/aggregated_result.py +0 -0
- /agenta/client/{backend/types → types}/aggregated_result_evaluator_config.py +0 -0
- /agenta/client/{backend/types → types}/analytics_response.py +0 -0
- /agenta/client/{backend/types → types}/app.py +0 -0
- /agenta/client/{backend/types → types}/app_variant_response.py +0 -0
- /agenta/client/{backend/types → types}/app_variant_revision.py +0 -0
- /agenta/client/{backend/types → types}/base_output.py +0 -0
- /agenta/client/{backend/types → types}/body_import_testset.py +0 -0
- /agenta/client/{backend/types → types}/bucket_dto.py +0 -0
- /agenta/client/{backend/types → types}/collect_status_response.py +0 -0
- /agenta/client/{backend/types → types}/config_db.py +0 -0
- /agenta/client/{backend/types → types}/config_dto.py +0 -0
- /agenta/client/{backend/types → types}/config_response_model.py +0 -0
- /agenta/client/{backend/types → types}/correct_answer.py +0 -0
- /agenta/client/{backend/types → types}/create_app_output.py +0 -0
- /agenta/client/{backend/types → types}/delete_evaluation.py +0 -0
- /agenta/client/{backend/types → types}/docker_env_vars.py +0 -0
- /agenta/client/{backend/types → types}/environment_output.py +0 -0
- /agenta/client/{backend/types → types}/environment_output_extended.py +0 -0
- /agenta/client/{backend/types → types}/environment_revision.py +0 -0
- /agenta/client/{backend/types → types}/error.py +0 -0
- /agenta/client/{backend/types → types}/evaluation.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_scenario.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_scenario_input.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_scenario_output.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_scenario_result.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_status_enum.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_type.py +0 -0
- /agenta/client/{backend/types → types}/evaluator.py +0 -0
- /agenta/client/{backend/types → types}/evaluator_config.py +0 -0
- /agenta/client/{backend/types → types}/evaluator_mapping_output_interface.py +0 -0
- /agenta/client/{backend/types → types}/evaluator_output_interface.py +0 -0
- /agenta/client/{backend/types → types}/exception_dto.py +0 -0
- /agenta/client/{backend/types → types}/get_config_response.py +0 -0
- /agenta/client/{backend/types → types}/header_dto.py +0 -0
- /agenta/client/{backend/types → types}/http_validation_error.py +0 -0
- /agenta/client/{backend/types → types}/human_evaluation.py +0 -0
- /agenta/client/{backend/types → types}/human_evaluation_scenario.py +0 -0
- /agenta/client/{backend/types → types}/human_evaluation_scenario_input.py +0 -0
- /agenta/client/{backend/types → types}/human_evaluation_scenario_output.py +0 -0
- /agenta/client/{backend/types → types}/image.py +0 -0
- /agenta/client/{backend/types → types}/invite_request.py +0 -0
- /agenta/client/{backend/types → types}/legacy_analytics_response.py +0 -0
- /agenta/client/{backend/types → types}/legacy_data_point.py +0 -0
- /agenta/client/{backend/types → types}/legacy_scope_request.py +0 -0
- /agenta/client/{backend/types → types}/legacy_scopes_response.py +0 -0
- /agenta/client/{backend/types → types}/legacy_user_request.py +0 -0
- /agenta/client/{backend/types → types}/legacy_user_response.py +0 -0
- /agenta/client/{backend/types → types}/lifecycle_dto.py +0 -0
- /agenta/client/{backend/types → types}/link_dto.py +0 -0
- /agenta/client/{backend/types → types}/list_api_keys_response.py +0 -0
- /agenta/client/{backend/types → types}/llm_run_rate_limit.py +0 -0
- /agenta/client/{backend/types → types}/metrics_dto.py +0 -0
- /agenta/client/{backend/types → types}/new_testset.py +0 -0
- /agenta/client/{backend/types → types}/node_dto.py +0 -0
- /agenta/client/{backend/types → types}/node_type.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_context_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_event_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_extra_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_link_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_span_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_span_kind.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_spans_response.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_status_code.py +0 -0
- /agenta/client/{backend/types → types}/organization.py +0 -0
- /agenta/client/{backend/types → types}/organization_membership_request.py +0 -0
- /agenta/client/{backend/types → types}/organization_output.py +0 -0
- /agenta/client/{backend/types → types}/organization_request.py +0 -0
- /agenta/client/{backend/types → types}/parent_dto.py +0 -0
- /agenta/client/{backend/types → types}/permission.py +0 -0
- /agenta/client/{backend/types → types}/project_membership_request.py +0 -0
- /agenta/client/{backend/types → types}/project_request.py +0 -0
- /agenta/client/{backend/types → types}/project_scope.py +0 -0
- /agenta/client/{backend/types → types}/projects_response.py +0 -0
- /agenta/client/{backend/types → types}/provider_key_dto.py +0 -0
- /agenta/client/{backend/types → types}/provider_kind.py +0 -0
- /agenta/client/{backend/types → types}/reference.py +0 -0
- /agenta/client/{backend/types → types}/reference_dto.py +0 -0
- /agenta/client/{backend/types → types}/reference_request_model.py +0 -0
- /agenta/client/{backend/types → types}/result.py +0 -0
- /agenta/client/{backend/types → types}/role.py +0 -0
- /agenta/client/{backend/types → types}/root_dto.py +0 -0
- /agenta/client/{backend/types → types}/scopes_response_model.py +0 -0
- /agenta/client/{backend/types → types}/score.py +0 -0
- /agenta/client/{backend/types → types}/secret_dto.py +0 -0
- /agenta/client/{backend/types → types}/secret_kind.py +0 -0
- /agenta/client/{backend/types → types}/secret_response_dto.py +0 -0
- /agenta/client/{backend/types → types}/simple_evaluation_output.py +0 -0
- /agenta/client/{backend/types → types}/span_dto.py +0 -0
- /agenta/client/{backend/types → types}/span_dto_nodes_value.py +0 -0
- /agenta/client/{backend/types → types}/status_code.py +0 -0
- /agenta/client/{backend/types → types}/status_dto.py +0 -0
- /agenta/client/{backend/types → types}/template.py +0 -0
- /agenta/client/{backend/types → types}/template_image_info.py +0 -0
- /agenta/client/{backend/types → types}/test_set_output_response.py +0 -0
- /agenta/client/{backend/types → types}/test_set_simple_response.py +0 -0
- /agenta/client/{backend/types → types}/time_dto.py +0 -0
- /agenta/client/{backend/types → types}/tree_dto.py +0 -0
- /agenta/client/{backend/types → types}/tree_type.py +0 -0
- /agenta/client/{backend/types → types}/update_app_output.py +0 -0
- /agenta/client/{backend/types → types}/uri.py +0 -0
- /agenta/client/{backend/types → types}/user_request.py +0 -0
- /agenta/client/{backend/types → types}/validation_error.py +0 -0
- /agenta/client/{backend/types → types}/validation_error_loc_item.py +0 -0
- /agenta/client/{backend/types → types}/variant_action.py +0 -0
- /agenta/client/{backend/types → types}/variant_action_enum.py +0 -0
- /agenta/client/{backend/types → types}/workspace_member_response.py +0 -0
- /agenta/client/{backend/types → types}/workspace_membership_request.py +0 -0
- /agenta/client/{backend/types → types}/workspace_permission.py +0 -0
- /agenta/client/{backend/types → types}/workspace_request.py +0 -0
- /agenta/client/{backend/types → types}/workspace_response.py +0 -0
- /agenta/client/{backend/types → types}/workspace_role.py +0 -0
- /agenta/client/{backend/types → types}/workspace_role_response.py +0 -0
- /agenta/client/{backend/variants → variants}/__init__.py +0 -0
- /agenta/client/{backend/variants → variants}/client.py +0 -0
- /agenta/client/{backend/variants → variants}/types/__init__.py +0 -0
- /agenta/client/{backend/variants → variants}/types/add_variant_from_base_and_config_response.py +0 -0
- /agenta/client/{backend/vault → vault}/__init__.py +0 -0
- /agenta/client/{backend/vault → vault}/client.py +0 -0
- {agenta-0.36.3.dist-info → agenta-0.36.4.dist-info}/WHEEL +0 -0
agenta/sdk/__init__.py
CHANGED
|
@@ -2,7 +2,7 @@ from typing import Optional, Callable, Any
|
|
|
2
2
|
|
|
3
3
|
from .utils.preinit import PreInitObject # always the first import!
|
|
4
4
|
|
|
5
|
-
import agenta.client.
|
|
5
|
+
import agenta.client.types as client_types # pylint: disable=wrong-import-order
|
|
6
6
|
|
|
7
7
|
from .types import (
|
|
8
8
|
DictInput,
|
|
@@ -32,7 +32,6 @@ from .managers.secrets import SecretsManager
|
|
|
32
32
|
from .managers.config import ConfigManager
|
|
33
33
|
from .managers.variant import VariantManager
|
|
34
34
|
from .managers.deployment import DeploymentManager
|
|
35
|
-
from ..client.exceptions import APIRequestError
|
|
36
35
|
|
|
37
36
|
|
|
38
37
|
config = PreInitObject("agenta.config", Config)
|
|
@@ -53,8 +52,8 @@ def init(
|
|
|
53
52
|
config_fname: Optional[str] = None,
|
|
54
53
|
redact: Optional[Callable[..., Any]] = None,
|
|
55
54
|
redact_on_error: Optional[bool] = True,
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
scope_type: Optional[str] = None,
|
|
56
|
+
scope_id: Optional[str] = None,
|
|
58
57
|
):
|
|
59
58
|
global api, async_api, tracing, tracer # pylint: disable=global-statement
|
|
60
59
|
|
|
@@ -64,7 +63,8 @@ def init(
|
|
|
64
63
|
config_fname=config_fname,
|
|
65
64
|
redact=redact,
|
|
66
65
|
redact_on_error=redact_on_error,
|
|
67
|
-
|
|
66
|
+
scope_type=scope_type,
|
|
67
|
+
scope_id=scope_id,
|
|
68
68
|
)
|
|
69
69
|
|
|
70
70
|
api = DEFAULT_AGENTA_SINGLETON_INSTANCE.api # type: ignore
|
agenta/sdk/agenta_init.py
CHANGED
|
@@ -5,7 +5,7 @@ from importlib.metadata import version
|
|
|
5
5
|
|
|
6
6
|
from agenta.sdk.utils.logging import log
|
|
7
7
|
from agenta.sdk.utils.globals import set_global
|
|
8
|
-
from agenta.client.
|
|
8
|
+
from agenta.client.client import AgentaApi, AsyncAgentaApi
|
|
9
9
|
|
|
10
10
|
from agenta.sdk.tracing import Tracing
|
|
11
11
|
from agenta.sdk.context.routing import routing_context
|
|
@@ -21,6 +21,13 @@ class AgentaSingleton:
|
|
|
21
21
|
api = None
|
|
22
22
|
async_api = None
|
|
23
23
|
|
|
24
|
+
def __init__(self):
|
|
25
|
+
self.host = None
|
|
26
|
+
self.api_key = None
|
|
27
|
+
|
|
28
|
+
self.scope_type = None
|
|
29
|
+
self.scope_id = None
|
|
30
|
+
|
|
24
31
|
def __new__(cls):
|
|
25
32
|
if not cls._instance:
|
|
26
33
|
cls._instance = super(AgentaSingleton, cls).__new__(cls)
|
|
@@ -34,30 +41,27 @@ class AgentaSingleton:
|
|
|
34
41
|
config_fname: Optional[str] = None,
|
|
35
42
|
redact: Optional[Callable[..., Any]] = None,
|
|
36
43
|
redact_on_error: Optional[bool] = True,
|
|
37
|
-
|
|
38
|
-
|
|
44
|
+
scope_type: Optional[str] = None,
|
|
45
|
+
scope_id: Optional[str] = None,
|
|
39
46
|
) -> None:
|
|
40
47
|
"""
|
|
41
48
|
Main function to initialize the singleton.
|
|
42
49
|
|
|
43
|
-
Initializes the singleton with the given `
|
|
50
|
+
Initializes the singleton with the given `host`, and `api_key`. The order of precedence for these variables is:
|
|
44
51
|
1. Explicit argument provided in the function call.
|
|
45
52
|
2. Value from the configuration file specified by `config_fname`.
|
|
46
53
|
3. Environment variables.
|
|
47
54
|
|
|
48
55
|
Examples:
|
|
49
|
-
ag.init(
|
|
56
|
+
ag.init(api_key="xxx")
|
|
50
57
|
ag.init(config_fname="config.toml")
|
|
51
58
|
ag.init() #assuming env vars are set
|
|
52
59
|
|
|
53
60
|
Args:
|
|
54
|
-
app_id (Optional[str]): ID of the Agenta application. Defaults to None. If not provided, will look for "app_id" in the config file, then "AGENTA_APP_ID" in environment variables.
|
|
55
61
|
host (Optional[str]): Host name of the backend server. Defaults to None. If not provided, will look for "backend_host" in the config file, then "AGENTA_HOST" in environment variables.
|
|
56
62
|
api_key (Optional[str]): API Key to use with the host of the backend server. Defaults to None. If not provided, will look for "api_key" in the config file, then "AGENTA_API_KEY" in environment variables.
|
|
57
63
|
config_fname (Optional[str]): Path to the configuration file (relative or absolute). Defaults to None.
|
|
58
64
|
|
|
59
|
-
Raises:
|
|
60
|
-
ValueError: If `app_id` is not specified either as an argument, in the config file, or in the environment variables.
|
|
61
65
|
"""
|
|
62
66
|
|
|
63
67
|
log.info("Agenta - SDK version: %s", version("agenta"))
|
|
@@ -76,21 +80,21 @@ class AgentaSingleton:
|
|
|
76
80
|
|
|
77
81
|
log.info("Agenta - Host: %s", self.host)
|
|
78
82
|
|
|
79
|
-
self.app_id = app_id or config.get("app_id") or getenv("AGENTA_APP_ID")
|
|
80
|
-
# if not self.app_id:
|
|
81
|
-
# raise ValueError(
|
|
82
|
-
# "App ID must be specified. You can provide it in one of the following ways:\n"
|
|
83
|
-
# "1. As an argument when calling ag.init(app_id='your_app_id').\n"
|
|
84
|
-
# "2. In the configuration file specified by config_fname.\n"
|
|
85
|
-
# "3. As an environment variable 'AGENTA_APP_ID'."
|
|
86
|
-
# )
|
|
87
|
-
|
|
88
83
|
self.api_key = api_key or getenv("AGENTA_API_KEY") or config.get("api_key")
|
|
89
84
|
|
|
90
|
-
self.
|
|
85
|
+
self.scope_type = (
|
|
86
|
+
scope_type
|
|
87
|
+
or getenv("AGENTA_SCOPE_TYPE")
|
|
88
|
+
or config.get("scope_type")
|
|
89
|
+
or None
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
self.scope_id = (
|
|
93
|
+
scope_id or getenv("AGENTA_SCOPE_ID") or config.get("scope_id") or None
|
|
94
|
+
)
|
|
91
95
|
|
|
92
96
|
self.tracing = Tracing(
|
|
93
|
-
url=f"{self.host}/api/
|
|
97
|
+
url=f"{self.host}/api/otlp/v1/traces", # type: ignore
|
|
94
98
|
redact=redact,
|
|
95
99
|
redact_on_error=redact_on_error,
|
|
96
100
|
)
|
|
@@ -111,7 +115,6 @@ class AgentaSingleton:
|
|
|
111
115
|
|
|
112
116
|
self.config = Config(
|
|
113
117
|
host=self.host,
|
|
114
|
-
base_id=self.base_id,
|
|
115
118
|
api_key=self.api_key,
|
|
116
119
|
)
|
|
117
120
|
|
|
@@ -119,11 +122,6 @@ class AgentaSingleton:
|
|
|
119
122
|
class Config:
|
|
120
123
|
def __init__(
|
|
121
124
|
self,
|
|
122
|
-
# LEGACY
|
|
123
|
-
host: Optional[str] = None,
|
|
124
|
-
base_id: Optional[str] = None,
|
|
125
|
-
api_key: Optional[str] = None,
|
|
126
|
-
# LEGACY
|
|
127
125
|
**kwargs,
|
|
128
126
|
):
|
|
129
127
|
self.default_parameters = {**kwargs}
|
|
@@ -155,26 +153,6 @@ class Config:
|
|
|
155
153
|
|
|
156
154
|
return None
|
|
157
155
|
|
|
158
|
-
### --- LEGACY --- ###
|
|
159
|
-
|
|
160
|
-
def register_default(self, overwrite=False, **kwargs):
|
|
161
|
-
"""alias for default"""
|
|
162
|
-
return self.default(overwrite=overwrite, **kwargs)
|
|
163
|
-
|
|
164
|
-
def default(self, overwrite=False, **kwargs):
|
|
165
|
-
"""Saves the default parameters to the app_name and base_name in case they are not already saved.
|
|
166
|
-
Args:
|
|
167
|
-
overwrite: Whether to overwrite the existing configuration or not
|
|
168
|
-
**kwargs: A dict containing the parameters
|
|
169
|
-
"""
|
|
170
|
-
self.set(**kwargs)
|
|
171
|
-
|
|
172
|
-
def set(self, **kwargs):
|
|
173
|
-
self.set_default(**kwargs)
|
|
174
|
-
|
|
175
|
-
def all(self):
|
|
176
|
-
return self.default_parameters
|
|
177
|
-
|
|
178
156
|
|
|
179
157
|
def init(
|
|
180
158
|
host: Optional[str] = None,
|
|
@@ -182,29 +160,24 @@ def init(
|
|
|
182
160
|
config_fname: Optional[str] = None,
|
|
183
161
|
redact: Optional[Callable[..., Any]] = None,
|
|
184
162
|
redact_on_error: Optional[bool] = True,
|
|
185
|
-
|
|
186
|
-
|
|
163
|
+
scope_type: Optional[str] = None,
|
|
164
|
+
scope_id: Optional[str] = None,
|
|
187
165
|
):
|
|
188
166
|
"""Main function to initialize the agenta sdk.
|
|
189
167
|
|
|
190
|
-
Initializes agenta with the given `
|
|
168
|
+
Initializes agenta with the given `host`, and `api_key`. The order of precedence for these variables is:
|
|
191
169
|
1. Explicit argument provided in the function call.
|
|
192
170
|
2. Value from the configuration file specified by `config_fname`.
|
|
193
171
|
3. Environment variables.
|
|
194
172
|
|
|
195
|
-
- `app_id` is a required parameter (to be specified in one of the above ways)
|
|
196
173
|
- `host` is optional and defaults to "https://cloud.agenta.ai"
|
|
197
174
|
- `api_key` is optional and defaults to "". It is required only when using cloud or enterprise version of agenta.
|
|
198
175
|
|
|
199
176
|
|
|
200
177
|
Args:
|
|
201
|
-
app_id (Optional[str]): ID of the Agenta application. Defaults to None. If not provided, will look for "app_id" in the config file, then "AGENTA_APP_ID" in environment variables.
|
|
202
178
|
host (Optional[str]): Host name of the backend server. Defaults to None. If not provided, will look for "backend_host" in the config file, then "AGENTA_HOST" in environment variables.
|
|
203
179
|
api_key (Optional[str]): API Key to use with the host of the backend server. Defaults to None. If not provided, will look for "api_key" in the config file, then "AGENTA_API_KEY" in environment variables.
|
|
204
180
|
config_fname (Optional[str]): Path to the configuration file. Defaults to None.
|
|
205
|
-
|
|
206
|
-
Raises:
|
|
207
|
-
ValueError: If `app_id` is not specified either as an argument, in the config file, or in the environment variables.
|
|
208
181
|
"""
|
|
209
182
|
|
|
210
183
|
singleton = AgentaSingleton()
|
|
@@ -215,7 +188,8 @@ def init(
|
|
|
215
188
|
config_fname=config_fname,
|
|
216
189
|
redact=redact,
|
|
217
190
|
redact_on_error=redact_on_error,
|
|
218
|
-
|
|
191
|
+
scope_type=scope_type,
|
|
192
|
+
scope_id=scope_id,
|
|
219
193
|
)
|
|
220
194
|
|
|
221
195
|
set_global(
|
agenta/sdk/client.py
CHANGED
agenta/sdk/managers/shared.py
CHANGED
|
@@ -7,9 +7,9 @@ from agenta.sdk.types import (
|
|
|
7
7
|
ConfigurationResponse,
|
|
8
8
|
DeploymentResponse,
|
|
9
9
|
)
|
|
10
|
-
from agenta.client.
|
|
11
|
-
from agenta.client.
|
|
12
|
-
from agenta.client.
|
|
10
|
+
from agenta.client.types.config_dto import ConfigDto as ConfigRequest
|
|
11
|
+
from agenta.client.types.config_response_model import ConfigResponseModel
|
|
12
|
+
from agenta.client.types.reference_request_model import ReferenceRequestModel
|
|
13
13
|
|
|
14
14
|
import agenta as ag
|
|
15
15
|
|
agenta/sdk/middleware/auth.py
CHANGED
|
@@ -55,6 +55,9 @@ class AuthMiddleware(BaseHTTPMiddleware):
|
|
|
55
55
|
|
|
56
56
|
self.host = ag.DEFAULT_AGENTA_SINGLETON_INSTANCE.host
|
|
57
57
|
|
|
58
|
+
self.scope_type = ag.DEFAULT_AGENTA_SINGLETON_INSTANCE.scope_type
|
|
59
|
+
self.scope_id = ag.DEFAULT_AGENTA_SINGLETON_INSTANCE.scope_id
|
|
60
|
+
|
|
58
61
|
async def dispatch(self, request: Request, call_next: Callable):
|
|
59
62
|
try:
|
|
60
63
|
if request.url.path in _ALWAYS_ALLOW_LIST:
|
|
@@ -85,33 +88,39 @@ class AuthMiddleware(BaseHTTPMiddleware):
|
|
|
85
88
|
|
|
86
89
|
async def _get_credentials(self, request: Request) -> Optional[str]:
|
|
87
90
|
try:
|
|
91
|
+
# HEADERS
|
|
88
92
|
authorization = request.headers.get("authorization", None)
|
|
89
|
-
|
|
90
93
|
headers = {"Authorization": authorization} if authorization else None
|
|
91
94
|
|
|
95
|
+
# COOKIES
|
|
92
96
|
access_token = request.cookies.get("sAccessToken", None)
|
|
93
|
-
|
|
94
97
|
cookies = {"sAccessToken": access_token} if access_token else None
|
|
95
98
|
|
|
96
99
|
if not headers and not cookies:
|
|
97
100
|
log.debug("No auth header nor auth cookie found in the request")
|
|
98
101
|
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
# PARAMS
|
|
103
|
+
params = {}
|
|
104
|
+
## PROJECT_ID
|
|
101
105
|
project_id = (
|
|
102
106
|
# CLEANEST
|
|
103
|
-
baggage.get("project_id")
|
|
107
|
+
request.state.otel["baggage"].get("project_id")
|
|
104
108
|
# ALTERNATIVE
|
|
105
109
|
or request.query_params.get("project_id")
|
|
106
110
|
)
|
|
107
|
-
|
|
108
111
|
if not project_id:
|
|
109
112
|
log.debug("No project ID found in request")
|
|
110
|
-
|
|
111
|
-
params = {"action": "run_service", "resource_type": "service"}
|
|
112
|
-
|
|
113
113
|
if project_id:
|
|
114
114
|
params["project_id"] = project_id
|
|
115
|
+
## SCOPE
|
|
116
|
+
if self.scope_type and self.scope_id:
|
|
117
|
+
params["scope_type"] = self.scope_type
|
|
118
|
+
params["scope_id"] = self.scope_id
|
|
119
|
+
## ACTION
|
|
120
|
+
params["action"] = "run_service"
|
|
121
|
+
## RESOURCE
|
|
122
|
+
params["resource_type"] = "service"
|
|
123
|
+
# params["resource_id"] = None
|
|
115
124
|
|
|
116
125
|
_hash = dumps(
|
|
117
126
|
{
|
agenta/sdk/middleware/config.py
CHANGED
|
@@ -33,7 +33,6 @@ class ConfigMiddleware(BaseHTTPMiddleware):
|
|
|
33
33
|
super().__init__(app)
|
|
34
34
|
|
|
35
35
|
self.host = ag.DEFAULT_AGENTA_SINGLETON_INSTANCE.host
|
|
36
|
-
self.application_id = ag.DEFAULT_AGENTA_SINGLETON_INSTANCE.app_id
|
|
37
36
|
|
|
38
37
|
async def dispatch(
|
|
39
38
|
self,
|
|
@@ -153,7 +152,6 @@ class ConfigMiddleware(BaseHTTPMiddleware):
|
|
|
153
152
|
# LEGACY
|
|
154
153
|
or baggage.get("application_id")
|
|
155
154
|
or request.query_params.get("app_id")
|
|
156
|
-
or self.application_id
|
|
157
155
|
)
|
|
158
156
|
application_slug = (
|
|
159
157
|
# CLEANEST
|
agenta/sdk/middleware/vault.py
CHANGED
|
@@ -7,10 +7,10 @@ from fastapi import FastAPI, Request
|
|
|
7
7
|
from starlette.middleware.base import BaseHTTPMiddleware
|
|
8
8
|
|
|
9
9
|
from agenta.sdk.utils.constants import TRUTHY
|
|
10
|
-
from agenta.client.
|
|
10
|
+
from agenta.client.types.provider_kind import ProviderKind
|
|
11
11
|
from agenta.sdk.utils.exceptions import suppress, display_exception
|
|
12
|
-
from agenta.client.
|
|
13
|
-
from agenta.client.
|
|
12
|
+
from agenta.client.types.secret_dto import SecretDto as SecretDTO
|
|
13
|
+
from agenta.client.types.provider_key_dto import (
|
|
14
14
|
ProviderKeyDto as ProviderKeyDTO,
|
|
15
15
|
)
|
|
16
16
|
from agenta.sdk.utils.cache import TTLLRUCache
|
agenta/sdk/types.py
CHANGED
|
@@ -4,8 +4,8 @@ from typing import Dict, List, Optional, Any, Union
|
|
|
4
4
|
|
|
5
5
|
from pydantic import ConfigDict, BaseModel, HttpUrl
|
|
6
6
|
|
|
7
|
-
from agenta.client.
|
|
8
|
-
from agenta.client.
|
|
7
|
+
from agenta.client.types.agenta_node_dto import AgentaNodeDto
|
|
8
|
+
from agenta.client.types.agenta_nodes_response import AgentaNodesResponse
|
|
9
9
|
from typing import Annotated, List, Union, Optional, Dict, Literal, Any
|
|
10
10
|
from pydantic import BaseModel, Field, model_validator
|
|
11
11
|
from agenta.sdk.assets import supported_llm_models
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: agenta
|
|
3
|
-
Version: 0.36.
|
|
3
|
+
Version: 0.36.4
|
|
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
|
|
@@ -16,7 +16,6 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
17
|
Classifier: Topic :: Software Development :: Libraries
|
|
18
18
|
Requires-Dist: cachetools (>=5.3.3,<6.0.0)
|
|
19
|
-
Requires-Dist: click (>=8.1.3,<9.0.0)
|
|
20
19
|
Requires-Dist: docker (>=6.1.1,<8.0.0)
|
|
21
20
|
Requires-Dist: fastapi (>=0.100.0)
|
|
22
21
|
Requires-Dist: httpx (>=0.24,<0.28)
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
agenta/__init__.py,sha256=8QRtZk67tG-t7KBuMm9lvlm4qFxyEcXtIpraLmXl0GY,2307
|
|
2
|
+
agenta/client/Readme.md,sha256=bbX6p0wKLKIEQDhFd3b1XghenHSC8W_j000GBBZiOLY,2880
|
|
3
|
+
agenta/client/__init__.py,sha256=2Dfi7Roh05LHoF3JD8oEbLVKmmb9ZIaTdW_Qlrls1Vc,6453
|
|
4
|
+
agenta/client/access_control/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
5
|
+
agenta/client/access_control/client.py,sha256=yu5RrcXizig6zVVNPghrd4K6MHFj26-2hRIPCjS3QnY,5467
|
|
6
|
+
agenta/client/admin/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
7
|
+
agenta/client/admin/client.py,sha256=wIRMl2ah82YdcQJDqMmM3cKXoGocY5s18QodLr8MKEc,20636
|
|
8
|
+
agenta/client/apps/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
9
|
+
agenta/client/apps/client.py,sha256=Oq17dLukED65BrSDHWr9nylu9r04Ilt_9G9o0MHKclQ,66544
|
|
10
|
+
agenta/client/bases/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
11
|
+
agenta/client/bases/client.py,sha256=s8EAwrdxNkOjhDSP2-HIbqp51vNlvhXxS4nGb8YoWPk,6068
|
|
12
|
+
agenta/client/client.py,sha256=H4SRAvODi6mmxY3JJy9hLepGs1n1xAfwzVr9tXshVCg,104905
|
|
13
|
+
agenta/client/configs/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
14
|
+
agenta/client/configs/client.py,sha256=_nuh5K5D5SuCOeckXcGv6P4ZtVdTGWQ7JhcoIclmWfY,19267
|
|
15
|
+
agenta/client/containers/__init__.py,sha256=Haw2PwiPhNvM26PLQN57jY0bN-QqPoDG4VA-P_uGL3A,153
|
|
16
|
+
agenta/client/containers/client.py,sha256=8yqtMI3Pkt25iSRCr6E70WsvUVLhxHKxdEGWq4UJnkY,21445
|
|
17
|
+
agenta/client/containers/types/__init__.py,sha256=b6yQ-p_vsI5cpKh-Qa8xNE-M5nLHjfBvfgD4JIhqEkY,176
|
|
18
|
+
agenta/client/containers/types/container_templates_response.py,sha256=IFmEkCII_FebAt3ENZByzAYXMB1vgQEeIaSPTLSzG5M,189
|
|
19
|
+
agenta/client/core/__init__.py,sha256=SQ85PF84B9MuKnBwHNHWemSGuy-g_515gFYNFhvEE0I,1438
|
|
20
|
+
agenta/client/core/api_error.py,sha256=TtMtCdxXjd7Tasc9c8ooFg124nPrb2MXG-tKOXV4u9I,440
|
|
21
|
+
agenta/client/core/client_wrapper.py,sha256=esOteB9jDmUGJkv6EotT54nPNU42TR_kjF3pPjU6lqY,1817
|
|
22
|
+
agenta/client/core/datetime_utils.py,sha256=BHjt_H3WVslcuPsr6qjJoVif_SsdLvFN0c43ABE5UiQ,1069
|
|
23
|
+
agenta/client/core/file.py,sha256=mUvNH6Wc-k2mSlXCJ9VoYzvgi7NcCkhTzlW2VXxSucg,2710
|
|
24
|
+
agenta/client/core/http_client.py,sha256=Wz6swfW0qdrpVNGEmf8HGdWdDTRq-0bAjsdV3xvbFxE,21004
|
|
25
|
+
agenta/client/core/jsonable_encoder.py,sha256=SHXw4G4n-f0IPgNkxj_-Fip3kN8NUAI-YrKxdZw8kl0,3662
|
|
26
|
+
agenta/client/core/pydantic_utilities.py,sha256=BZTSULs3wlfRQwTtsEyKlyY6SkHCtf3WxHqfhH9YSG4,12325
|
|
27
|
+
agenta/client/core/query_encoder.py,sha256=8qYl5VPl1jU4cDF0X7oSU_DXjlVWY5ayigFBpNTMGOA,2150
|
|
28
|
+
agenta/client/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
|
|
29
|
+
agenta/client/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
|
|
30
|
+
agenta/client/core/serialization.py,sha256=1VIoFHrJZZgjx5kxsUnUDbgr2v66GFgMJ_J1mqexBXA,9643
|
|
31
|
+
agenta/client/environments/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
32
|
+
agenta/client/environments/client.py,sha256=Mq5EtUxUiKbMm33IF9OXt-eDAS9G_qOnvYmTLrTSemc,6248
|
|
33
|
+
agenta/client/errors/__init__.py,sha256=pbbVUFtB9LCocA1RMWMMF_RKjsy5YkOKX5BAuE49w6g,170
|
|
34
|
+
agenta/client/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBRdk4so_gCHjYT5PyZe6sM,313
|
|
35
|
+
agenta/client/evaluations/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
36
|
+
agenta/client/evaluations/client.py,sha256=yP9dd4C1A77cuk64W44SAD4MlGU9W-SZJOUpR0Y94dU,46844
|
|
37
|
+
agenta/client/evaluators/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
38
|
+
agenta/client/evaluators/client.py,sha256=Opm0eMoQoQw2OUWivOY2b4jJSe7UAgoAV2A1Lo3IQws,41245
|
|
39
|
+
agenta/client/human_evaluations/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
40
|
+
agenta/client/human_evaluations/client.py,sha256=NkZGQwsDAUmuoPTnP57xHHocRAwQy7zoDU5vSGCHlb0,54918
|
|
41
|
+
agenta/client/observability/__init__.py,sha256=wAH4GHiT4W6l9j0IsC6w7wJ2GbRPcj4KsefGxvsGSrI,207
|
|
42
|
+
agenta/client/observability/client.py,sha256=yogA9foWrB0Fw5WjJdJNeHm05fAOvGbkw3GdzU1fuvI,23878
|
|
43
|
+
agenta/client/observability/types/__init__.py,sha256=wnukYpvztLthMEts3z74KMEZiLqa3BkBQHGRXCyfMZk,279
|
|
44
|
+
agenta/client/observability/types/format.py,sha256=nXmxWCY7ZNLjzGROOBUOnjf1kBtMbv4XSboTooV-Jko,150
|
|
45
|
+
agenta/client/observability/types/query_analytics_response.py,sha256=avbFvONr1YAv0IImookAPs596633xnMvFscdSTaA8uk,291
|
|
46
|
+
agenta/client/observability/types/query_traces_response.py,sha256=0-4nNfKLnciOR7E1859HupWqcwunJe53OLgXRlxxeb8,452
|
|
47
|
+
agenta/client/scopes/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
48
|
+
agenta/client/scopes/client.py,sha256=ZMHXj0GRS-xNOLAbnjo4SNpHjOvHa-xZn8-caC508Qk,3617
|
|
49
|
+
agenta/client/testsets/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
50
|
+
agenta/client/testsets/client.py,sha256=EzPOeKyRRGrpcaCo1TX5vLQ0SoruAD4SrWxHvrzTx3A,34777
|
|
51
|
+
agenta/client/types/__init__.py,sha256=C8f02du7AI4cjMNGf9LUKo7HexHgGfHNxDn2L2poOxY,8541
|
|
52
|
+
agenta/client/types/account_response.py,sha256=2bMgMOLPsqmOy5snRetLojc92cbYwsVdkFNKUe0lPe4,799
|
|
53
|
+
agenta/client/types/agenta_node_dto.py,sha256=DLZltD_ueVOfdiSZ1u2i3mu1C3kshxhcggQFFfybBdY,1747
|
|
54
|
+
agenta/client/types/agenta_node_dto_nodes_value.py,sha256=ifG7dBYLphFoCgQ70ivvDXkTSlxX8w5x_9S-Glh8FlI,180
|
|
55
|
+
agenta/client/types/agenta_nodes_response.py,sha256=1EoxaqN3ioELS_9rg5Bo6Y0PqqNdX2YNRCIsdO4Q-aQ,902
|
|
56
|
+
agenta/client/types/agenta_root_dto.py,sha256=rlEe4jipR2SvjAy9a24QZiPoTWGxH1mFXuZeO9k5Bi4,876
|
|
57
|
+
agenta/client/types/agenta_roots_response.py,sha256=l-eC5Xfkhh-OAluRFltoz9SFmRMcZOI8EfuXxgHH-4U,902
|
|
58
|
+
agenta/client/types/agenta_tree_dto.py,sha256=yDGVUqUli4SBosfICic46bDEx-DZt4H2RrSlZSiEU7o,876
|
|
59
|
+
agenta/client/types/agenta_trees_response.py,sha256=oyjTlpEn4StDB1Wo1fCHSh0_IU7E_00XVn_u5qEXqTw,902
|
|
60
|
+
agenta/client/types/aggregated_result.py,sha256=4WPjBzQSyPW-Q91XuBbtsicHtupzAFgnz065jpYVKi0,747
|
|
61
|
+
agenta/client/types/aggregated_result_evaluator_config.py,sha256=GzU358rxyXbiDvpf9i6LqSTaHuirZV8XoodAdPKi-uY,243
|
|
62
|
+
agenta/client/types/analytics_response.py,sha256=BDk2qyUHpiyE_EL32H9auokw57_ZmYy31cUztwJeoOw,694
|
|
63
|
+
agenta/client/types/app.py,sha256=uBdmLWD9UAcOc6GZogVZp26IvAmXM20Uj0KCuGbmBP8,650
|
|
64
|
+
agenta/client/types/app_variant_response.py,sha256=lFrl63ZTceAjMvLYQyIruRUF4ycQ4bB-OXuJtPqqQ6E,1094
|
|
65
|
+
agenta/client/types/app_variant_revision.py,sha256=jC-JTUYXq2P5mhsnZZUX7zUbDH0Go2KpMnyqvREFhTM,717
|
|
66
|
+
agenta/client/types/base_output.py,sha256=_cYuHdi6THNGEeDmvTb1yo82JlvV9-aCVLHcl4Q-UCY,597
|
|
67
|
+
agenta/client/types/body_import_testset.py,sha256=7WmxuZe2Lt4CgdRhue6fHjzicWDfYFzN_6C3xkhjvXk,656
|
|
68
|
+
agenta/client/types/bucket_dto.py,sha256=8uW9oIn4C0ke9PyiQdDT0y50s-jEAhGHsDlcKwAkDjc,705
|
|
69
|
+
agenta/client/types/collect_status_response.py,sha256=Rk7Llfh2lI7U1YHRP4CffFaUKiXCXbOv7us88cMTchM,605
|
|
70
|
+
agenta/client/types/config_db.py,sha256=nCM_3WKTCP3zko26wys5wTSn2cun9OYclwMp_vY5qjE,666
|
|
71
|
+
agenta/client/types/config_dto.py,sha256=x13NXqJd46LDN5w5ejj93HkeZay_nYWvH-7xq3yVM90,1207
|
|
72
|
+
agenta/client/types/config_response_model.py,sha256=v14K15XdzX9dSYb3I6Q0BMneGaKKbrmXsJTk6xAkr20,1217
|
|
73
|
+
agenta/client/types/correct_answer.py,sha256=khEHspf9nszpzhswc7rSruCrcmvVdHFm7ti8JRdpXyI,592
|
|
74
|
+
agenta/client/types/create_app_output.py,sha256=0_avs1u3pIU14P5ut1WOUrravDwpg2GkSj8kYsAMK9Y,600
|
|
75
|
+
agenta/client/types/delete_evaluation.py,sha256=XL7GGP1_84_hOXwBiKxSrb7wJBOSvjZPXF8gos6tR-k,605
|
|
76
|
+
agenta/client/types/docker_env_vars.py,sha256=td2vhkHyYCwIC_TjlUu7hDuIXsfSJH2L7J_wGaNvw_c,600
|
|
77
|
+
agenta/client/types/environment_output.py,sha256=L0KSiTXy4tFrrplV-YnyrsBzRB25E8QSEPTQC9BWBd0,933
|
|
78
|
+
agenta/client/types/environment_output_extended.py,sha256=Sr5cVBZAKekddwQPOIsMmt9diaPTsOWpyzZzOFOFxLs,1043
|
|
79
|
+
agenta/client/types/environment_revision.py,sha256=fZPYZCnXAiRZSp9trp4huruCUcaanyrXnC7WF6-GhXg,748
|
|
80
|
+
agenta/client/types/error.py,sha256=9efIET--nIU5El4GNEdYvkhtqIF5LtgxniKg0SookgE,617
|
|
81
|
+
agenta/client/types/evaluation.py,sha256=BtOUgIkgU-FEzVNbY2IJl0ZSVhwiIe7630hLl3f9k18,1218
|
|
82
|
+
agenta/client/types/evaluation_scenario.py,sha256=AAEZS19leBYMF5ZTlXFCD5ZqAIpu1iHnN7V5KVXtKAA,1168
|
|
83
|
+
agenta/client/types/evaluation_scenario_input.py,sha256=KQYQIL6RXa2C2K6JNwZXXlW9nFYw-xqCJqY5qlp8mco,648
|
|
84
|
+
agenta/client/types/evaluation_scenario_output.py,sha256=-XoVgjhJryWb3XrFuEQ0s0O3TV3BsHQltehYUnxThzA,704
|
|
85
|
+
agenta/client/types/evaluation_scenario_result.py,sha256=wOs3-2ucAL6rizTzhHfzIPiXIWhFX9hQn44sMgqWUv8,647
|
|
86
|
+
agenta/client/types/evaluation_status_enum.py,sha256=U0yabhF9EZqb0MU13MhLsuOa2wQmUQHGWDS0qawwvfE,370
|
|
87
|
+
agenta/client/types/evaluation_type.py,sha256=FaI9rLp1QBUl5EE9xKtlxFhCDdcKGOx8NPcAWn3ct5o,186
|
|
88
|
+
agenta/client/types/evaluator.py,sha256=Ye9m3jEg65hKsJlqWVDxNnlSNXCJAzxFX-KG7qGCPTM,843
|
|
89
|
+
agenta/client/types/evaluator_config.py,sha256=3CIFKMdXJbxixiojihQSCUenr_6UlXG_0IgoCCEvdeQ,780
|
|
90
|
+
agenta/client/types/evaluator_mapping_output_interface.py,sha256=KiQzlq7UCks_32TcMeF9nqYQUJK8jpxIL7HYi5ar-7s,641
|
|
91
|
+
agenta/client/types/evaluator_output_interface.py,sha256=r4aU7-fUBMvdXzbJIeQ9aoFiIhH58Ofmkn_BKpTMJko,634
|
|
92
|
+
agenta/client/types/exception_dto.py,sha256=Y7eJ6ZOukbq30ZB2Vljr72YbezNsN9FGrUIJBWg4TYo,797
|
|
93
|
+
agenta/client/types/get_config_response.py,sha256=uNaeYEq3VCNm3uZ1mNnxBhDzrNz0LYjuz984ASEk5Fk,676
|
|
94
|
+
agenta/client/types/header_dto.py,sha256=DMxWESxcVhNFPxm2M-jPSHrO5VQdO2Jg24LovfZXHWg,643
|
|
95
|
+
agenta/client/types/http_validation_error.py,sha256=bMxjckCqPguIznV-z-517GS-d2EXC9wJEg0XCcQfq_E,681
|
|
96
|
+
agenta/client/types/human_evaluation.py,sha256=jUNYGW6zp4UWB-SOY1oOB6FX_HtJ32cKRjUlXQzvllk,883
|
|
97
|
+
agenta/client/types/human_evaluation_scenario.py,sha256=GZFGdki4Rlfly7RUhNrWpS2x8N0fHelHdk55YtxY3l0,1127
|
|
98
|
+
agenta/client/types/human_evaluation_scenario_input.py,sha256=4iT1sH_hM6gOFmVicewPONFOvz_cW-Dh6HoNU-tCC0E,620
|
|
99
|
+
agenta/client/types/human_evaluation_scenario_output.py,sha256=yVEFImNXK3qSy83AL3X5qypUOgJ__fumLj1bNgXgPXk,624
|
|
100
|
+
agenta/client/types/image.py,sha256=Q8mnZynlIHHwlu3XRarjJAzgfadl87qPJ-fqH2WqQBw,722
|
|
101
|
+
agenta/client/types/invite_request.py,sha256=ZYcO4_O5Jjnz6uDwcFUoQ1Bn-A0F9t2S3rQTx9arwJc,607
|
|
102
|
+
agenta/client/types/legacy_analytics_response.py,sha256=-dyG9jk3OwdsGiNere46p9n7BWst1orhBR_BWVxaY6g,814
|
|
103
|
+
agenta/client/types/legacy_data_point.py,sha256=jsFKtbBN_HJuxEjgLU6VqWHG3eWW7eIrPr0FAXA1bdY,718
|
|
104
|
+
agenta/client/types/legacy_scope_request.py,sha256=uOaWaUna9FuQyH19hKPxhEQHQO6AueGHOVFi4R1n2sI,583
|
|
105
|
+
agenta/client/types/legacy_scopes_response.py,sha256=P81G2iZZxExq4nnv8pEdZT7aOXw15jv0Dna-xFR4cso,985
|
|
106
|
+
agenta/client/types/legacy_user_request.py,sha256=Vx2UGgR6Dw5xN5cED32dqtb16ljQEdn0-w4K5bFaPsU,597
|
|
107
|
+
agenta/client/types/legacy_user_response.py,sha256=eKf182keSd2Nt4qyXVytqDkq5dYPn_Y_5TcWlFi-HJw,605
|
|
108
|
+
agenta/client/types/lifecycle_dto.py,sha256=jgOgDkq5m2zQ2S2d4USivPi-sZ2J0eaadwYv2LnghYU,742
|
|
109
|
+
agenta/client/types/link_dto.py,sha256=pcL3P3143CDTfpaOjq2prQNuO_AWsP73HW74MOmaD8c,677
|
|
110
|
+
agenta/client/types/list_api_keys_response.py,sha256=av8nz-yhcOYiLZEfnJDxr37W7r1C8VnLLoeSgJwQSY0,701
|
|
111
|
+
agenta/client/types/llm_run_rate_limit.py,sha256=XiPGznCpdS-lPDiswj6pX5aIxhMuOfGCOda7IPcB0q8,659
|
|
112
|
+
agenta/client/types/metrics_dto.py,sha256=2J58QUiXllp6rkgHMYfk_jXg9gddqgzg7F0OKByj4FI,724
|
|
113
|
+
agenta/client/types/new_testset.py,sha256=S8ENb_fu5CeyxTvjN5ojXuVoaauNKgfwE738svFhWNY,647
|
|
114
|
+
agenta/client/types/node_dto.py,sha256=-4oC4IPdsndGEaRK2woQpcuZ33GdqsM-i4MGzh90I7w,659
|
|
115
|
+
agenta/client/types/node_type.py,sha256=ofQdliqdM9dBYu8_A8Uc3ALco6UkJYvnD69bePqCA2o,330
|
|
116
|
+
agenta/client/types/o_tel_context_dto.py,sha256=qrowfPwbE-4ObOVy63gh38nH4HllY3dnEwm0hl04PSw,600
|
|
117
|
+
agenta/client/types/o_tel_event_dto.py,sha256=jUzuHg9_FhqIJwhR6g99a4owWc3lBGx3fJhsdTIrfQ8,682
|
|
118
|
+
agenta/client/types/o_tel_extra_dto.py,sha256=l8EaJ76U3DmRK1Vn16Ndr-Jy76fXrbna8RuCWeuQJ6E,891
|
|
119
|
+
agenta/client/types/o_tel_link_dto.py,sha256=wvSwljJaEiQ7TGleQL7sQX4kK0H8LKC8iAD5VMfOPbg,722
|
|
120
|
+
agenta/client/types/o_tel_span_dto.py,sha256=VrtAzlnfu1TxIiIcNAA7vPFxMHOciDS9RN_wppBbqU0,1306
|
|
121
|
+
agenta/client/types/o_tel_span_kind.py,sha256=ePW3OWDXA1CaF0tJc06hCSN_FeQC9ULkO8qDjItu71U,333
|
|
122
|
+
agenta/client/types/o_tel_spans_response.py,sha256=RcSDsp98H2qz53DPAZn7b2KrUZY85Kvda5cdRtGqnt8,700
|
|
123
|
+
agenta/client/types/o_tel_status_code.py,sha256=RytIFSDMwvg3oV6BbBxE-8H5zQLwPlx2M_mw7FN8-ts,209
|
|
124
|
+
agenta/client/types/organization.py,sha256=U8xVumZUcp5GnrRNJIHmaqibnxsVd9Hh6Oi0QqREuvI,900
|
|
125
|
+
agenta/client/types/organization_membership_request.py,sha256=Q6y9CrIpMegfJckVeO_eI4LeiFkw_wyZSzxqhFPSzIM,731
|
|
126
|
+
agenta/client/types/organization_output.py,sha256=dXkUHfNfp_ho220_sb7EX3YmE2AqYc4rlsYngV3ELBI,595
|
|
127
|
+
agenta/client/types/organization_request.py,sha256=6NG6D-t9UEQ_mSBGQfHGnGVM9cobqwVNRliUl3KlMCE,625
|
|
128
|
+
agenta/client/types/parent_dto.py,sha256=eh1bH2TJe9NLS2MdKZzIFvnwfKVBU_CNNPUkq1k2HnI,572
|
|
129
|
+
agenta/client/types/permission.py,sha256=UMRAMyHKQilnJPF-VQGIWBsuyUebUSQbmpDH0MEuw_U,1225
|
|
130
|
+
agenta/client/types/project_membership_request.py,sha256=u7bJx9ukVanbf2G9EV7h6PHkh0j5wf-NaBKPr_5nhgw,715
|
|
131
|
+
agenta/client/types/project_request.py,sha256=jjWg-S0qdNsnhbLZs20txru2_Q64lIN7ZAE_50W80jI,715
|
|
132
|
+
agenta/client/types/project_scope.py,sha256=Emi8j7HTYehM7N-pAjfMa39898njd3zirN3lNeNMkgo,765
|
|
133
|
+
agenta/client/types/projects_response.py,sha256=yQUrCf9vfw8zje1DaYj2p64AAYb2OcRPF3lmVTmqX98,888
|
|
134
|
+
agenta/client/types/provider_key_dto.py,sha256=WkvgA8qv2ceLyLyyGSv9AFewem5fN6rB4Jmw9Grmpco,645
|
|
135
|
+
agenta/client/types/provider_kind.py,sha256=CiHeg12lPvgey2wN3cnTlFEC9UFzvb-HCUxbbpyQzrg,397
|
|
136
|
+
agenta/client/types/reference.py,sha256=gRb-COQlxYY9e_X8Tsk9CM4DlY-JEQaaH7bC9ZsqhtE,634
|
|
137
|
+
agenta/client/types/reference_dto.py,sha256=VNLakAy13glLgEPIXH9o_3vcPflPkQJdo0o113lPURc,678
|
|
138
|
+
agenta/client/types/reference_request_model.py,sha256=nhf4VUAfAJ-vf9fbOhcTrxk6uuqMFSoy0NhChY9Y0VQ,687
|
|
139
|
+
agenta/client/types/result.py,sha256=6qD2kzmdzu8q4ywLtAyWLQEDHw-Cu5xN5GLCV-FI7_Y,700
|
|
140
|
+
agenta/client/types/role.py,sha256=Vs9R8jAcGSQV9NAaBXwGp-adpJZhl4B9ZUwBzoUyMlU,277
|
|
141
|
+
agenta/client/types/root_dto.py,sha256=F9OYWFLSCKSR-4z8BOV-eGmNkraVakxNPjsuwCUxYuY,570
|
|
142
|
+
agenta/client/types/scopes_response_model.py,sha256=lw3Zc-WSj4CDIq8yOV-QCNNn6powjlyPwU9wRvjkppg,697
|
|
143
|
+
agenta/client/types/score.py,sha256=GPbyRb1SPv8O8xxSi4kRuRPVfb9GjTWhgmJYoyoWx5s,116
|
|
144
|
+
agenta/client/types/secret_dto.py,sha256=X3E0zfATI_Lb5Hov8zl2RS5g9SH5qzX2mf2UyvXbpwg,704
|
|
145
|
+
agenta/client/types/secret_kind.py,sha256=FfxqfDrPrHFLpEVDwfDu4YEiT6xOXddn2e1omGdEPMM,124
|
|
146
|
+
agenta/client/types/secret_response_dto.py,sha256=2T74ipNIgjxpqzwfLDOVMJViE5ve0vJFH8AHl8JaQWs,784
|
|
147
|
+
agenta/client/types/simple_evaluation_output.py,sha256=XBm4IVY28brTIYrRQVUK7tFmxUUnqL6nKgVW5_E9PbM,731
|
|
148
|
+
agenta/client/types/span_dto.py,sha256=EcGDT_hhCIXa0NEUucGi-TZLBWvwIyp9AKvA-fQTzOU,1863
|
|
149
|
+
agenta/client/types/span_dto_nodes_value.py,sha256=R62GF6K9mOkUe_4EuLrmvNFg7Fn6eOIsWf4-0orgqa8,256
|
|
150
|
+
agenta/client/types/status_code.py,sha256=rcpuLXRoWh08O4jxILr5yXV_mKWD896YCja-M0o8fHs,158
|
|
151
|
+
agenta/client/types/status_dto.py,sha256=toKLiaY2FOWscyxkNIEDvjR0PDuZ4p_M92BDC-oeXE8,658
|
|
152
|
+
agenta/client/types/template.py,sha256=O-2LZEElxLj4LbslKqFY8EzlkCzFSwfYMXkHcfh5XM4,651
|
|
153
|
+
agenta/client/types/template_image_info.py,sha256=Bodh11Vi35CNGMmtQgLMjTi8rcUB5oNERcVwHnu4V6c,860
|
|
154
|
+
agenta/client/types/test_set_output_response.py,sha256=RNOj6QtQww1pXgdpWUQTV_1Rozs9eUvNQxag_W4HmWg,767
|
|
155
|
+
agenta/client/types/test_set_simple_response.py,sha256=dNftvPtUnNiGJKP9VzTFnjh3ffKxPocAG4sd45ZbHkg,618
|
|
156
|
+
agenta/client/types/time_dto.py,sha256=OIR33tTFvTo2xSl5MQun4ZjPPPo_7h_Xc9RuKxMLWok,624
|
|
157
|
+
agenta/client/types/tree_dto.py,sha256=24o0OHCXSFwvdk59LvL4CZY1ULn600GJiUZ3lVfWR6w,645
|
|
158
|
+
agenta/client/types/tree_type.py,sha256=_maP5H8vwQZ9Ps7dWbuCVg8IgBuVUOMKItvZwPUZitI,120
|
|
159
|
+
agenta/client/types/update_app_output.py,sha256=VOZS9MM_eNY2tVD7cnjiP-tUodAbuaRZed7KTONi1-E,600
|
|
160
|
+
agenta/client/types/uri.py,sha256=tiY_sNZOWfG2INOhsthGx9QMnN_5Ibrqi68AkPHyDvw,567
|
|
161
|
+
agenta/client/types/user_request.py,sha256=MPZwEiAFDdG3a5iL6Sc0TDX0ElbKkAePWvb0HsjWxNM,591
|
|
162
|
+
agenta/client/types/validation_error.py,sha256=nNDCxS4lCvY-79Yfwcnth5a1RXm51EZ_tMCbxnmzbAQ,700
|
|
163
|
+
agenta/client/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
164
|
+
agenta/client/types/variant_action.py,sha256=m3SWsIZF9rPfFSh3ypDA5vawKiTHwI_7_SfhyQO3OoU,645
|
|
165
|
+
agenta/client/types/variant_action_enum.py,sha256=KZzhy-BKA9m8zwZlmoESywDQIn-VGyI2qCRr9-tqaks,158
|
|
166
|
+
agenta/client/types/workspace_member_response.py,sha256=-iF-xitcARF6FqGkQKojf06O7GU2oDRbvI0mpu2Clyk,728
|
|
167
|
+
agenta/client/types/workspace_membership_request.py,sha256=mDRMXg_VvF0Gh39eiGTQgrDhSeDgZZ-jTN5yREbJ37M,719
|
|
168
|
+
agenta/client/types/workspace_permission.py,sha256=f-e3FUDOIyTmORW2P-K38WOJy3r1g5sZVBl6VUHAt74,791
|
|
169
|
+
agenta/client/types/workspace_request.py,sha256=LZBw6P1CohpFkY-4Rzfu8SFLBHd7UGMFzRUr6MR5gyk,688
|
|
170
|
+
agenta/client/types/workspace_response.py,sha256=n1884dwY4C9Gm-JCyprnLfOxAVg4j9SsXL7hQdwsUl8,924
|
|
171
|
+
agenta/client/types/workspace_role.py,sha256=k-ltfq7aAWGg85tTPIf8HpFMMf4gu02_X8R2fFPmB7U,286
|
|
172
|
+
agenta/client/types/workspace_role_response.py,sha256=6hlRcsMmpf6Q0ejLzRKJiZo_9rygazcbJfpPq2jQZVw,693
|
|
173
|
+
agenta/client/variants/__init__.py,sha256=BMR4SvsrqXC9FU8nPVzY8M9xGrBEhEGrmbgvy3iM1aE,171
|
|
174
|
+
agenta/client/variants/client.py,sha256=8pBJ0EDvlafgW1dbrwyGKKBTfHZrzCHeiNRmEMQQWxY,97959
|
|
175
|
+
agenta/client/variants/types/__init__.py,sha256=TrRUAyPsJ1bKg2gfW0d_S1rEu6eaYnHmr2g_URTuwPU,216
|
|
176
|
+
agenta/client/variants/types/add_variant_from_base_and_config_response.py,sha256=nbcakmo3eZpWmyX_DhS6F4jyhfV2t5zN-zOgDtM2rKQ,247
|
|
177
|
+
agenta/client/vault/__init__.py,sha256=9mUnTDeA1TxYvkj1l01A1prqsJV0ERRY2tzkY1fA4MQ,64
|
|
178
|
+
agenta/client/vault/client.py,sha256=eqqET6gmxqE2HK906beDb81ynFocF4IjD74GbxoeA5U,21924
|
|
179
|
+
agenta/config.py,sha256=0VrTqduB4g8Mt_Ll7ffFcEjKF5qjTUIxmUtTPW2ygWw,653
|
|
180
|
+
agenta/config.toml,sha256=sIORbhnyct2R9lJrquxhNL4pHul3O0R7iaipCoja5MY,193
|
|
181
|
+
agenta/sdk/__init__.py,sha256=w89t6zQ7Ea-dBUPm3H27CsILNEWf6te65gT1z38HELM,2110
|
|
182
|
+
agenta/sdk/agenta_init.py,sha256=SeJiDGISEhpDEV4mj4DM97x7G91xfX1d0m5ZiVOIKtQ,6061
|
|
183
|
+
agenta/sdk/assets.py,sha256=4FN1IfZfBx9g6jW8KzT9ei4BQei9-7MasxHHD9UdeMg,7752
|
|
184
|
+
agenta/sdk/client.py,sha256=suHZKQbpK1Lj06fg3et3M4HeAugEAV7y9qE_jGAN6T8,2134
|
|
185
|
+
agenta/sdk/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
186
|
+
agenta/sdk/context/exporting.py,sha256=16X8fgMhl58gehSlqANX97FiKxx4TkGiG4d2B0-7ZX0,516
|
|
187
|
+
agenta/sdk/context/routing.py,sha256=FEsjw8EttI1SMyUo96ptcUsvHJnhoKwdr1szlkxxJNU,598
|
|
188
|
+
agenta/sdk/context/tracing.py,sha256=xjErrXP1Nq1AfL-Cif1l-lNEfs12eQ3v_VCRgoKe7nY,743
|
|
189
|
+
agenta/sdk/decorators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
190
|
+
agenta/sdk/decorators/routing.py,sha256=HjAhJcttOdf2NM5HVXYgosh3BD2mF87UO9od0RSZ7Bw,24773
|
|
191
|
+
agenta/sdk/decorators/tracing.py,sha256=tIi5gpwzvXd26pFW-7kYQtTFO8w1zzwFeAPY2Ldq4P4,9952
|
|
192
|
+
agenta/sdk/litellm/__init__.py,sha256=Bpz1gfHQc0MN1yolWcjifLWznv6GjHggvRGQSpxpihM,37
|
|
193
|
+
agenta/sdk/litellm/litellm.py,sha256=Xx_YJu05BYkmIe6uObjS6DwzjgwfNytGWf807Zh0vcU,10153
|
|
194
|
+
agenta/sdk/litellm/mockllm.py,sha256=8V6dqdv8eA4P-VoXIwHNYlIjHG189P14POSfSfluVw0,678
|
|
195
|
+
agenta/sdk/litellm/mocks/__init__.py,sha256=0bGjOOWXz8BxE0rvRWciPP7SAegO2mgi_UtWw8jTlDk,866
|
|
196
|
+
agenta/sdk/managers/__init__.py,sha256=SN-LRwG0pRRDV3u2Q4JiiSTigN3-mYpzGNM35RzT4mc,238
|
|
197
|
+
agenta/sdk/managers/apps.py,sha256=RSE5ER-a0IHo7iZrcQLshQZMemPTfAVsBfR8H1J-ryQ,1713
|
|
198
|
+
agenta/sdk/managers/config.py,sha256=2LFl7aBF7FKd6UKhqcbnDXzlP8Rsj7hnCu5wBllVQzc,7753
|
|
199
|
+
agenta/sdk/managers/deployment.py,sha256=SEokjZeh6n7HRKZ92Y0WncdG49hIFx-Z3B3HAl2kmUg,1174
|
|
200
|
+
agenta/sdk/managers/secrets.py,sha256=HAXswBOTbF_LydoNGnQgHr-KVqdFUOvLujUg6S_5taM,878
|
|
201
|
+
agenta/sdk/managers/shared.py,sha256=1yg_qiHIiZP4K2cOLsQXS7e0vm8emjtzOv8pFJsvfpY,21499
|
|
202
|
+
agenta/sdk/managers/variant.py,sha256=A5ga3mq3b0weUTXa9HO72MGaspthGcu1uK9K5OnP738,4172
|
|
203
|
+
agenta/sdk/managers/vault.py,sha256=054ce9X_xKa2M4NtQWz-GugO6q_pYVWCP3IxbAJJcRw,337
|
|
204
|
+
agenta/sdk/middleware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
205
|
+
agenta/sdk/middleware/auth.py,sha256=uUoCM3ST8ts_oUlmhxhdnAOJ0uIL8QxupLTRm6tZ_-Q,10107
|
|
206
|
+
agenta/sdk/middleware/config.py,sha256=9yFFlrkcoGNczj0ZfkbliWIt1S84cnEvB4RMCzdbBWc,7715
|
|
207
|
+
agenta/sdk/middleware/cors.py,sha256=q3r7lGkrIdMcT_vuhsburMcjG7pyl7w0ycxrIrGJ2e8,921
|
|
208
|
+
agenta/sdk/middleware/inline.py,sha256=ee8E4XBGcRSrHTvblqX1yRXuTN_sxLm7lY1jnywrBG8,901
|
|
209
|
+
agenta/sdk/middleware/mock.py,sha256=bCUN9iJBxePyN9MBwBpJs-_iCNkUQeUjIIu3WElS1oQ,759
|
|
210
|
+
agenta/sdk/middleware/otel.py,sha256=ShaB7iVaUjdq6lOXf0vmZthQsDUjAgIrseyPeJzVkEU,840
|
|
211
|
+
agenta/sdk/middleware/vault.py,sha256=2hyUeaUn21iOsCRKiBFcpucSh0PZe2kGne0X-GNxEu4,4286
|
|
212
|
+
agenta/sdk/router.py,sha256=mOguvtOwl2wmyAgOuWTsf98pQwpNiUILKIo67W_hR3A,119
|
|
213
|
+
agenta/sdk/tracing/__init__.py,sha256=rQNe5-zT5Kt7_CDhq-lnUIi1EYTBVzVf_MbfcIxVD98,41
|
|
214
|
+
agenta/sdk/tracing/attributes.py,sha256=zh8JQZSeYCLBeIRSopKJx6QQ-WEgw08Cr64DS_WOcT8,3833
|
|
215
|
+
agenta/sdk/tracing/conventions.py,sha256=JBtznBXZ3aRkGKkLl7cPwdMNh3w1G-H2Ta2YrAxbr38,950
|
|
216
|
+
agenta/sdk/tracing/exporters.py,sha256=mnqZXbien7uzEdwfm06BFOZnC8JVJvNWI4ODSyMUeSc,3160
|
|
217
|
+
agenta/sdk/tracing/inline.py,sha256=tY9mH1zMlJMqf2WWKJdakLtMHJKNeYRaynqvsPeqpTY,31312
|
|
218
|
+
agenta/sdk/tracing/processors.py,sha256=HR7pSzHtV8WWr2qEeAki0yznWWQCKCW3HGm1nbVgmEM,4252
|
|
219
|
+
agenta/sdk/tracing/propagation.py,sha256=EeOqDMqnh_MoEhGd1do_vy_tQBYUcoC8kpLqVoZeqg0,2561
|
|
220
|
+
agenta/sdk/tracing/spans.py,sha256=nqUOjjirBxB8Eacv8Qj4Ra_6rknGi3lbJdNyKmk5ODQ,3707
|
|
221
|
+
agenta/sdk/tracing/tracing.py,sha256=kWEt9AdUnTetgq7mR-fnap2isgL3NBg44cG7WFhZ_GU,7162
|
|
222
|
+
agenta/sdk/types.py,sha256=LYdmOHD1B97Lzp9V6gWxlJ797Atg8jPLlnKXQw20Nog,19104
|
|
223
|
+
agenta/sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
224
|
+
agenta/sdk/utils/cache.py,sha256=69pQCtmh10DiYoOdKv4t2fCYDQCuWZtH4uy36kXewpw,1372
|
|
225
|
+
agenta/sdk/utils/constants.py,sha256=zW3R4rjXOo2L5lz6q84l_zYuOM9u4mpPRHw_B1Dr_hI,67
|
|
226
|
+
agenta/sdk/utils/costs.py,sha256=i8C7ud__pThLS55XkN4YW8czXtGeXr2mx7jjcOFeiXg,5955
|
|
227
|
+
agenta/sdk/utils/exceptions.py,sha256=8FQP05ecHLpq6zSj3MbfdNp9SqP0a7iC_dA5uAe0vkE,1455
|
|
228
|
+
agenta/sdk/utils/globals.py,sha256=9ixKS8aI6ZWgsjT8WngvTg4dsnP2cKErNJngHxzdK9U,256
|
|
229
|
+
agenta/sdk/utils/helpers.py,sha256=utrxDoELpR6QgFgHCEAWrWW4TYWXA10q72Gs5R78Ens,181
|
|
230
|
+
agenta/sdk/utils/logging.py,sha256=eFzEFuYpggfIhEKv09JZRqcDzkmZ482a_E2G-X0FK7Y,473
|
|
231
|
+
agenta/sdk/utils/preinit.py,sha256=YlJL7RLfel0R7DFp-jK7OV-z4ZIQJM0oupYlk7g8b5o,1278
|
|
232
|
+
agenta/sdk/utils/singleton.py,sha256=17Ph7LGnnV8HkPjImruKita2ni03Ari5jr0jqm__4sc,312
|
|
233
|
+
agenta/sdk/utils/timing.py,sha256=rmBPSBuUnIu-epocUCVk0KcM2r36HuDoxkFqOZgfPhc,1507
|
|
234
|
+
agenta-0.36.4.dist-info/METADATA,sha256=fmw9YlYPgJmAmD85rOopeYI7G_6EAdGhnngO2s0zPdA,29789
|
|
235
|
+
agenta-0.36.4.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
236
|
+
agenta-0.36.4.dist-info/RECORD,,
|