agenta 0.30.0__py3-none-any.whl → 0.30.0a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of agenta might be problematic. Click here for more details.

Files changed (45) hide show
  1. agenta/client/backend/__init__.py +3 -32
  2. agenta/client/backend/apps/client.py +10 -70
  3. agenta/client/backend/client.py +45 -61
  4. agenta/client/backend/configs/client.py +0 -6
  5. agenta/client/backend/containers/client.py +0 -6
  6. agenta/client/backend/core/file.py +8 -13
  7. agenta/client/backend/environments/client.py +0 -6
  8. agenta/client/backend/evaluations/client.py +1 -14
  9. agenta/client/backend/evaluators/client.py +0 -24
  10. agenta/client/backend/observability/client.py +16 -22
  11. agenta/client/backend/observability_v_1/__init__.py +2 -2
  12. agenta/client/backend/observability_v_1/client.py +0 -203
  13. agenta/client/backend/observability_v_1/types/__init__.py +1 -2
  14. agenta/client/backend/observability_v_1/types/format.py +1 -1
  15. agenta/client/backend/testsets/client.py +121 -305
  16. agenta/client/backend/types/__init__.py +2 -24
  17. agenta/client/backend/types/app.py +1 -2
  18. agenta/client/backend/types/body_import_testset.py +1 -0
  19. agenta/client/backend/types/lm_providers_enum.py +21 -0
  20. agenta/client/backend/types/permission.py +0 -1
  21. agenta/client/backend/variants/client.py +0 -66
  22. agenta/sdk/decorators/routing.py +0 -102
  23. {agenta-0.30.0.dist-info → agenta-0.30.0a2.dist-info}/METADATA +3 -4
  24. {agenta-0.30.0.dist-info → agenta-0.30.0a2.dist-info}/RECORD +26 -44
  25. {agenta-0.30.0.dist-info → agenta-0.30.0a2.dist-info}/WHEEL +1 -1
  26. agenta/client/backend/access_control/__init__.py +0 -1
  27. agenta/client/backend/access_control/client.py +0 -167
  28. agenta/client/backend/observability_v_1/types/query_analytics_response.py +0 -7
  29. agenta/client/backend/scopes/__init__.py +0 -1
  30. agenta/client/backend/scopes/client.py +0 -114
  31. agenta/client/backend/types/analytics_response.py +0 -24
  32. agenta/client/backend/types/bucket_dto.py +0 -26
  33. agenta/client/backend/types/header_dto.py +0 -22
  34. agenta/client/backend/types/legacy_analytics_response.py +0 -29
  35. agenta/client/backend/types/legacy_data_point.py +0 -27
  36. agenta/client/backend/types/metrics_dto.py +0 -24
  37. agenta/client/backend/types/projects_response.py +0 -28
  38. agenta/client/backend/types/provider_key_dto.py +0 -23
  39. agenta/client/backend/types/provider_kind.py +0 -21
  40. agenta/client/backend/types/secret_dto.py +0 -24
  41. agenta/client/backend/types/secret_kind.py +0 -5
  42. agenta/client/backend/types/secret_response_dto.py +0 -27
  43. agenta/client/backend/vault/__init__.py +0 -1
  44. agenta/client/backend/vault/client.py +0 -685
  45. {agenta-0.30.0.dist-info → agenta-0.30.0a2.dist-info}/entry_points.txt +0 -0
@@ -1,23 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from ..core.pydantic_utilities import UniversalBaseModel
4
- from .provider_kind import ProviderKind
5
- from ..core.pydantic_utilities import IS_PYDANTIC_V2
6
- import typing
7
- import pydantic
8
-
9
-
10
- class ProviderKeyDto(UniversalBaseModel):
11
- provider: ProviderKind
12
- key: str
13
-
14
- if IS_PYDANTIC_V2:
15
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
16
- extra="allow", frozen=True
17
- ) # type: ignore # Pydantic v2
18
- else:
19
-
20
- class Config:
21
- frozen = True
22
- smart_union = True
23
- extra = pydantic.Extra.allow
@@ -1,21 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ProviderKind = typing.Union[
6
- typing.Literal[
7
- "openai",
8
- "cohere",
9
- "anyscale",
10
- "deepinfra",
11
- "alephalpha",
12
- "groq",
13
- "mistralai",
14
- "anthropic",
15
- "perplexityai",
16
- "togetherai",
17
- "openrouter",
18
- "gemini",
19
- ],
20
- typing.Any,
21
- ]
@@ -1,24 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from ..core.pydantic_utilities import UniversalBaseModel
4
- from .secret_kind import SecretKind
5
- from .provider_key_dto import ProviderKeyDto
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2
7
- import typing
8
- import pydantic
9
-
10
-
11
- class SecretDto(UniversalBaseModel):
12
- kind: SecretKind = "provider_key"
13
- data: ProviderKeyDto
14
-
15
- if IS_PYDANTIC_V2:
16
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
17
- extra="allow", frozen=True
18
- ) # type: ignore # Pydantic v2
19
- else:
20
-
21
- class Config:
22
- frozen = True
23
- smart_union = True
24
- extra = pydantic.Extra.allow
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- SecretKind = typing.Literal["provider_key"]
@@ -1,27 +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 .header_dto import HeaderDto
6
- from .secret_dto import SecretDto
7
- from .lifecycle_dto import LifecycleDto
8
- from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
- import pydantic
10
-
11
-
12
- class SecretResponseDto(UniversalBaseModel):
13
- header: typing.Optional[HeaderDto] = None
14
- secret: SecretDto
15
- id: str
16
- lifecycle: typing.Optional[LifecycleDto] = None
17
-
18
- if IS_PYDANTIC_V2:
19
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
20
- extra="allow", frozen=True
21
- ) # type: ignore # Pydantic v2
22
- else:
23
-
24
- class Config:
25
- frozen = True
26
- smart_union = True
27
- extra = pydantic.Extra.allow
@@ -1 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.