amigo_sdk 0.70.0__py3-none-any.whl → 0.79.0__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.
- amigo_sdk/__init__.py +1 -1
- amigo_sdk/generated/model.py +203 -208
- {amigo_sdk-0.70.0.dist-info → amigo_sdk-0.79.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.70.0.dist-info → amigo_sdk-0.79.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.70.0.dist-info → amigo_sdk-0.79.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.70.0.dist-info → amigo_sdk-0.79.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.70.0.dist-info → amigo_sdk-0.79.0.dist-info}/licenses/LICENSE +0 -0
amigo_sdk/__init__.py
CHANGED
amigo_sdk/generated/model.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2025-12-
|
|
3
|
+
# timestamp: 2025-12-07T09:18:40+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -513,6 +513,7 @@ class LLMType(Enum):
|
|
|
513
513
|
azure_gpt_5_2025_08_07 = 'azure_gpt-5-2025-08-07'
|
|
514
514
|
azure_gpt_5_mini_2025_08_07 = 'azure_gpt-5-mini-2025-08-07'
|
|
515
515
|
azure_gpt_5_nano_2025_08_07 = 'azure_gpt-5-nano-2025-08-07'
|
|
516
|
+
azure_gpt_5_1_2025_11_13 = 'azure_gpt-5.1-2025-11-13'
|
|
516
517
|
google_claude_sonnet_4_5_20250929 = 'google_claude-sonnet-4-5@20250929'
|
|
517
518
|
aws_claude_sonnet_4_5_20250929 = 'aws_claude-sonnet-4-5-20250929'
|
|
518
519
|
google_gemini_2_5_pro = 'google_gemini-2.5-pro'
|
|
@@ -1955,20 +1956,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1955
1956
|
)
|
|
1956
1957
|
|
|
1957
1958
|
|
|
1958
|
-
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1959
|
-
BaseModel
|
|
1960
|
-
):
|
|
1961
|
-
id: str = Field(..., title='Id')
|
|
1962
|
-
name: str = Field(..., title='Name')
|
|
1963
|
-
is_active: bool = Field(..., title='Is Active')
|
|
1964
|
-
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1965
|
-
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1966
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1967
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1968
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1969
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
1959
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1973
1960
|
applied_to_services_ids: List[str] = Field(
|
|
1974
1961
|
...,
|
|
@@ -1989,14 +1976,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1989
1976
|
)
|
|
1990
1977
|
|
|
1991
1978
|
|
|
1992
|
-
class
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
)
|
|
1979
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1980
|
+
BaseModel
|
|
1981
|
+
):
|
|
1982
|
+
id: str = Field(..., title='Id')
|
|
1983
|
+
name: str = Field(..., title='Name')
|
|
1984
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1985
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1986
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1987
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1988
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1989
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1990
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
2000
1991
|
|
|
2001
1992
|
|
|
2002
1993
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -10752,6 +10743,13 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10752
10743
|
)
|
|
10753
10744
|
|
|
10754
10745
|
|
|
10746
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10747
|
+
description: str = Field(..., min_length=1)
|
|
10748
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10749
|
+
..., title='Tags'
|
|
10750
|
+
)
|
|
10751
|
+
|
|
10752
|
+
|
|
10755
10753
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10756
10754
|
org_id: str = Field(
|
|
10757
10755
|
...,
|
|
@@ -10775,19 +10773,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10775
10773
|
)
|
|
10776
10774
|
|
|
10777
10775
|
|
|
10778
|
-
class
|
|
10776
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState(
|
|
10779
10777
|
AnnotationStateInputNextState
|
|
10780
10778
|
):
|
|
10781
10779
|
pass
|
|
10782
10780
|
|
|
10783
10781
|
|
|
10784
|
-
class
|
|
10782
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
|
|
10785
10783
|
BaseModel
|
|
10786
10784
|
):
|
|
10787
10785
|
description: str = Field(..., min_length=1)
|
|
10788
10786
|
next_state: Union[
|
|
10789
10787
|
StateOrRefName,
|
|
10790
|
-
|
|
10788
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState,
|
|
10791
10789
|
] = Field(..., title='Next State')
|
|
10792
10790
|
|
|
10793
10791
|
|
|
@@ -10893,18 +10891,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10893
10891
|
)
|
|
10894
10892
|
|
|
10895
10893
|
|
|
10894
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10895
|
+
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10896
|
+
):
|
|
10897
|
+
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10898
|
+
...,
|
|
10899
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10900
|
+
min_length=1,
|
|
10901
|
+
title='User Dimensions',
|
|
10902
|
+
)
|
|
10903
|
+
|
|
10904
|
+
|
|
10896
10905
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10897
10906
|
OrganizationCreateOrganizationRequestPreferences
|
|
10898
10907
|
)
|
|
10899
10908
|
|
|
10900
10909
|
|
|
10901
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10902
|
-
description: str = Field(..., min_length=1)
|
|
10903
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10904
|
-
..., title='Tags'
|
|
10905
|
-
)
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
10910
|
class RoleAssignRoleRequest(BaseModel):
|
|
10909
10911
|
user_id: str = Field(
|
|
10910
10912
|
...,
|
|
@@ -10951,13 +10953,6 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10951
10953
|
)
|
|
10952
10954
|
|
|
10953
10955
|
|
|
10954
|
-
class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
10955
|
-
llm_name: LLMType
|
|
10956
|
-
params: Optional[Dict[str, Any]] = Field(
|
|
10957
|
-
{}, description='LLM-specific parameters to use.', title='Params'
|
|
10958
|
-
)
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
10956
|
class ServiceCreateServiceResponse(BaseModel):
|
|
10962
10957
|
id: str = Field(..., description='The ID of the newly created service.', title='Id')
|
|
10963
10958
|
|
|
@@ -11017,19 +11012,10 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11017
11012
|
)
|
|
11018
11013
|
|
|
11019
11014
|
|
|
11020
|
-
class
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
|
-
description='
|
|
11024
|
-
title='Agent Version Number',
|
|
11025
|
-
)
|
|
11026
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
11027
|
-
...,
|
|
11028
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
11029
|
-
title='Service Hierarchical State Machine Version Number',
|
|
11030
|
-
)
|
|
11031
|
-
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
11032
|
-
Field(..., title='Llm Model Preferences')
|
|
11015
|
+
class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
|
|
11016
|
+
llm_name: LLMType
|
|
11017
|
+
params: Optional[Dict[str, Any]] = Field(
|
|
11018
|
+
{}, description='LLM-specific parameters to use.', title='Params'
|
|
11033
11019
|
)
|
|
11034
11020
|
|
|
11035
11021
|
|
|
@@ -11151,16 +11137,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11151
11137
|
)
|
|
11152
11138
|
|
|
11153
11139
|
|
|
11154
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11155
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11156
|
-
run_count: int = Field(
|
|
11157
|
-
...,
|
|
11158
|
-
description='The number of times to run the unit test.',
|
|
11159
|
-
gt=0,
|
|
11160
|
-
title='Run Count',
|
|
11161
|
-
)
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
11140
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11165
11141
|
simulation_unit_test_set_id: str = Field(
|
|
11166
11142
|
...,
|
|
@@ -11471,39 +11447,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11471
11447
|
)
|
|
11472
11448
|
|
|
11473
11449
|
|
|
11474
|
-
class
|
|
11475
|
-
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
min_length=1,
|
|
11482
|
-
title='Unit Test Runs',
|
|
11483
|
-
)
|
|
11484
|
-
)
|
|
11485
|
-
|
|
11486
|
-
|
|
11487
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11488
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11489
|
-
None, description='The name of the simulation unit test set.'
|
|
11490
|
-
)
|
|
11491
|
-
description: Optional[
|
|
11492
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11493
|
-
] = Field(
|
|
11494
|
-
{},
|
|
11495
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11496
|
-
title='Description',
|
|
11497
|
-
)
|
|
11498
|
-
unit_test_runs: Optional[
|
|
11499
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11500
|
-
] = Field(
|
|
11501
|
-
None,
|
|
11502
|
-
description='The unit test runs that are part of this set.',
|
|
11503
|
-
title='Unit Test Runs',
|
|
11504
|
-
)
|
|
11505
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11506
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11450
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11451
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11452
|
+
run_count: int = Field(
|
|
11453
|
+
...,
|
|
11454
|
+
description='The number of times to run the unit test.',
|
|
11455
|
+
gt=0,
|
|
11456
|
+
title='Run Count',
|
|
11507
11457
|
)
|
|
11508
11458
|
|
|
11509
11459
|
|
|
@@ -11540,22 +11490,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11540
11490
|
)
|
|
11541
11491
|
|
|
11542
11492
|
|
|
11543
|
-
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11544
|
-
regular = 'regular'
|
|
11545
|
-
conversation_simulation = 'conversation-simulation'
|
|
11546
|
-
|
|
11547
|
-
|
|
11548
|
-
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11549
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11550
|
-
...,
|
|
11551
|
-
description='The input parameters for the tool invocation.',
|
|
11552
|
-
title='Input Parameters',
|
|
11553
|
-
)
|
|
11554
|
-
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11555
|
-
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11556
|
-
)
|
|
11557
|
-
|
|
11558
|
-
|
|
11559
11493
|
class ToolModifyToolRequest(BaseModel):
|
|
11560
11494
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11561
11495
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11598,34 +11532,19 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11598
11532
|
)
|
|
11599
11533
|
|
|
11600
11534
|
|
|
11601
|
-
class
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
)
|
|
11609
|
-
commit_branch: str = Field(
|
|
11610
|
-
...,
|
|
11611
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
11612
|
-
title='Commit Branch',
|
|
11613
|
-
)
|
|
11614
|
-
project_path: str = Field(
|
|
11615
|
-
...,
|
|
11616
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11617
|
-
pattern='^[-\\w\\d_/]+$',
|
|
11618
|
-
title='Project Path',
|
|
11619
|
-
)
|
|
11620
|
-
required_envvars: Dict[str, str] = Field(
|
|
11535
|
+
class ToolTestToolRequestInputInvocationMode(Enum):
|
|
11536
|
+
regular = 'regular'
|
|
11537
|
+
conversation_simulation = 'conversation-simulation'
|
|
11538
|
+
|
|
11539
|
+
|
|
11540
|
+
class ToolTestToolRequestInput(BaseModel):
|
|
11541
|
+
input_parameters: Dict[str, Any] = Field(
|
|
11621
11542
|
...,
|
|
11622
|
-
description='The
|
|
11623
|
-
title='
|
|
11543
|
+
description='The input parameters for the tool invocation.',
|
|
11544
|
+
title='Input Parameters',
|
|
11624
11545
|
)
|
|
11625
|
-
|
|
11626
|
-
...,
|
|
11627
|
-
description='The secret environment variables required for the tool to run.',
|
|
11628
|
-
title='Required Secret Envvars',
|
|
11546
|
+
invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
|
|
11547
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11629
11548
|
)
|
|
11630
11549
|
|
|
11631
11550
|
|
|
@@ -12136,7 +12055,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12136
12055
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12137
12056
|
)
|
|
12138
12057
|
message_type: Optional[List[MessageType]] = Field(
|
|
12139
|
-
['
|
|
12058
|
+
['user-message', 'external-event', 'agent-message'],
|
|
12140
12059
|
description='The type of messages to retrieve.',
|
|
12141
12060
|
title='Message Type',
|
|
12142
12061
|
)
|
|
@@ -14485,7 +14404,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14485
14404
|
|
|
14486
14405
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14487
14406
|
dynamic_behavior_sets: List[
|
|
14488
|
-
|
|
14407
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14489
14408
|
] = Field(
|
|
14490
14409
|
...,
|
|
14491
14410
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14509,6 +14428,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14509
14428
|
)
|
|
14510
14429
|
|
|
14511
14430
|
|
|
14431
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14432
|
+
dynamic_behavior_sets: List[
|
|
14433
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14434
|
+
] = Field(
|
|
14435
|
+
...,
|
|
14436
|
+
description='The retrieved dynamic behavior sets.',
|
|
14437
|
+
title='Dynamic Behavior Sets',
|
|
14438
|
+
)
|
|
14439
|
+
|
|
14440
|
+
|
|
14512
14441
|
class MetricCreateMetricRequest(BaseModel):
|
|
14513
14442
|
name: str = Field(
|
|
14514
14443
|
...,
|
|
@@ -14565,7 +14494,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14565
14494
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14566
14495
|
min_length=1,
|
|
14567
14496
|
)
|
|
14568
|
-
user_dimensions: List[
|
|
14497
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14569
14498
|
...,
|
|
14570
14499
|
description='User dimensions for the organization.',
|
|
14571
14500
|
title='User Dimensions',
|
|
@@ -14709,17 +14638,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14709
14638
|
)
|
|
14710
14639
|
|
|
14711
14640
|
|
|
14712
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14713
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14714
|
-
):
|
|
14715
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14716
|
-
...,
|
|
14717
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14718
|
-
min_length=1,
|
|
14719
|
-
title='User Dimensions',
|
|
14720
|
-
)
|
|
14721
|
-
|
|
14722
|
-
|
|
14723
14641
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14724
14642
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14725
14643
|
None,
|
|
@@ -14817,37 +14735,20 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
14817
14735
|
)
|
|
14818
14736
|
|
|
14819
14737
|
|
|
14820
|
-
class
|
|
14821
|
-
|
|
14822
|
-
...,
|
|
14823
|
-
description='The ID of the state machine that this service uses.',
|
|
14824
|
-
pattern='^[a-f0-9]{24}$',
|
|
14825
|
-
title='Service Hierarchical State Machine Id',
|
|
14826
|
-
)
|
|
14827
|
-
agent_id: str = Field(
|
|
14738
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14739
|
+
agent_version_number: Optional[int] = Field(
|
|
14828
14740
|
...,
|
|
14829
|
-
description='The
|
|
14830
|
-
|
|
14831
|
-
title='Agent Id',
|
|
14832
|
-
)
|
|
14833
|
-
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
14834
|
-
description: str = Field(
|
|
14835
|
-
..., description='A description of this service.', min_length=1
|
|
14741
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14742
|
+
title='Agent Version Number',
|
|
14836
14743
|
)
|
|
14837
|
-
|
|
14744
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14838
14745
|
...,
|
|
14839
|
-
description='
|
|
14840
|
-
title='
|
|
14841
|
-
)
|
|
14842
|
-
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
14843
|
-
Field(
|
|
14844
|
-
None,
|
|
14845
|
-
description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
|
|
14846
|
-
)
|
|
14847
|
-
)
|
|
14848
|
-
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
14849
|
-
..., description='The tags of this service.', title='Tags'
|
|
14746
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14747
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14850
14748
|
)
|
|
14749
|
+
llm_model_preferences: Dict[
|
|
14750
|
+
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14751
|
+
] = Field(..., title='Llm Model Preferences')
|
|
14851
14752
|
|
|
14852
14753
|
|
|
14853
14754
|
class ServiceGetServicesResponse(BaseModel):
|
|
@@ -14871,7 +14772,7 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14871
14772
|
|
|
14872
14773
|
|
|
14873
14774
|
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14874
|
-
version_set:
|
|
14775
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14875
14776
|
..., description='The version set to upsert.'
|
|
14876
14777
|
)
|
|
14877
14778
|
|
|
@@ -14925,7 +14826,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14925
14826
|
..., description='The description of the simulation unit test set.'
|
|
14926
14827
|
)
|
|
14927
14828
|
unit_test_runs: List[
|
|
14928
|
-
|
|
14829
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14929
14830
|
] = Field(
|
|
14930
14831
|
...,
|
|
14931
14832
|
description='The unit test runs that are part of this set.',
|
|
@@ -15032,6 +14933,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
15032
14933
|
)
|
|
15033
14934
|
|
|
15034
14935
|
|
|
14936
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14937
|
+
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14938
|
+
):
|
|
14939
|
+
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14940
|
+
Field(
|
|
14941
|
+
...,
|
|
14942
|
+
description='The unit test runs that are part of this set.',
|
|
14943
|
+
min_length=1,
|
|
14944
|
+
title='Unit Test Runs',
|
|
14945
|
+
)
|
|
14946
|
+
)
|
|
14947
|
+
|
|
14948
|
+
|
|
14949
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14950
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14951
|
+
None, description='The name of the simulation unit test set.'
|
|
14952
|
+
)
|
|
14953
|
+
description: Optional[
|
|
14954
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14955
|
+
] = Field(
|
|
14956
|
+
{},
|
|
14957
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14958
|
+
title='Description',
|
|
14959
|
+
)
|
|
14960
|
+
unit_test_runs: Optional[
|
|
14961
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
14962
|
+
] = Field(
|
|
14963
|
+
None,
|
|
14964
|
+
description='The unit test runs that are part of this set.',
|
|
14965
|
+
title='Unit Test Runs',
|
|
14966
|
+
)
|
|
14967
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
14968
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14969
|
+
)
|
|
14970
|
+
|
|
14971
|
+
|
|
15035
14972
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
15036
14973
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
15037
14974
|
...,
|
|
@@ -15073,7 +15010,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
15073
15010
|
|
|
15074
15011
|
|
|
15075
15012
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
15076
|
-
inputs: List[
|
|
15013
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15077
15014
|
...,
|
|
15078
15015
|
description='The list of inputs for the tool invocation.',
|
|
15079
15016
|
max_length=10,
|
|
@@ -15094,6 +15031,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
15094
15031
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
15095
15032
|
|
|
15096
15033
|
|
|
15034
|
+
class ToolTestToolRequest(BaseModel):
|
|
15035
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15036
|
+
...,
|
|
15037
|
+
description='The list of inputs for the tool invocation.',
|
|
15038
|
+
max_length=10,
|
|
15039
|
+
min_length=1,
|
|
15040
|
+
title='Inputs',
|
|
15041
|
+
)
|
|
15042
|
+
commit_branch: str = Field(
|
|
15043
|
+
...,
|
|
15044
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
15045
|
+
title='Commit Branch',
|
|
15046
|
+
)
|
|
15047
|
+
project_path: str = Field(
|
|
15048
|
+
...,
|
|
15049
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
15050
|
+
pattern='^[-\\w\\d_/]+$',
|
|
15051
|
+
title='Project Path',
|
|
15052
|
+
)
|
|
15053
|
+
required_envvars: Dict[str, str] = Field(
|
|
15054
|
+
...,
|
|
15055
|
+
description='The environment variables required for the tool to run.',
|
|
15056
|
+
title='Required Envvars',
|
|
15057
|
+
)
|
|
15058
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
15059
|
+
...,
|
|
15060
|
+
description='The secret environment variables required for the tool to run.',
|
|
15061
|
+
title='Required Secret Envvars',
|
|
15062
|
+
)
|
|
15063
|
+
|
|
15064
|
+
|
|
15097
15065
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
15098
15066
|
|
|
15099
15067
|
|
|
@@ -15134,7 +15102,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15134
15102
|
)
|
|
15135
15103
|
|
|
15136
15104
|
|
|
15137
|
-
class
|
|
15105
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15138
15106
|
org_id: str = Field(
|
|
15139
15107
|
...,
|
|
15140
15108
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15159,6 +15127,12 @@ class UserSearchUsersResponseUserInstance(BaseModel):
|
|
|
15159
15127
|
)
|
|
15160
15128
|
|
|
15161
15129
|
|
|
15130
|
+
class UserSearchUsersResponse(BaseModel):
|
|
15131
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15132
|
+
..., description='Users in this organization.', title='Users'
|
|
15133
|
+
)
|
|
15134
|
+
|
|
15135
|
+
|
|
15162
15136
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15163
15137
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15164
15138
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15187,9 +15161,7 @@ class CreateConversationParametersQuery(BaseModel):
|
|
|
15187
15161
|
title='Current Agent Action Type',
|
|
15188
15162
|
)
|
|
15189
15163
|
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
15190
|
-
None,
|
|
15191
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15192
|
-
title='Audio Format',
|
|
15164
|
+
None, title='Audio Format'
|
|
15193
15165
|
)
|
|
15194
15166
|
response_audio_format: Optional[
|
|
15195
15167
|
Union[VoiceResponsePCMAudioFormat, VoiceResponseMP3AudioFormat]
|
|
@@ -15224,9 +15196,7 @@ class InteractWithConversationParametersQuery(BaseModel):
|
|
|
15224
15196
|
title='Request Audio Config',
|
|
15225
15197
|
)
|
|
15226
15198
|
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
15227
|
-
None,
|
|
15228
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15229
|
-
title='Audio Format',
|
|
15199
|
+
None, title='Audio Format'
|
|
15230
15200
|
)
|
|
15231
15201
|
response_audio_format: Optional[
|
|
15232
15202
|
Union[VoiceResponsePCMAudioFormat, VoiceResponseMP3AudioFormat]
|
|
@@ -15254,7 +15224,7 @@ class ActionStateInput(BaseModel):
|
|
|
15254
15224
|
Field(..., title='Boundary Constraints')
|
|
15255
15225
|
)
|
|
15256
15226
|
exit_conditions: List[
|
|
15257
|
-
|
|
15227
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15258
15228
|
] = Field(..., title='Exit Conditions')
|
|
15259
15229
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15260
15230
|
..., title='Action Tool Call Specs'
|
|
@@ -15363,7 +15333,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15363
15333
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15364
15334
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15365
15335
|
exit_conditions: List[
|
|
15366
|
-
|
|
15336
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15367
15337
|
] = Field(..., title='Exit Conditions')
|
|
15368
15338
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15369
15339
|
..., title='Decision Guidelines'
|
|
@@ -16047,6 +16017,37 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16047
16017
|
)
|
|
16048
16018
|
|
|
16049
16019
|
|
|
16020
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
16021
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
16022
|
+
...,
|
|
16023
|
+
description='The ID of the state machine that this service uses.',
|
|
16024
|
+
pattern='^[a-f0-9]{24}$',
|
|
16025
|
+
title='Service Hierarchical State Machine Id',
|
|
16026
|
+
)
|
|
16027
|
+
agent_id: str = Field(
|
|
16028
|
+
...,
|
|
16029
|
+
description='The ID of the agent that this service uses.',
|
|
16030
|
+
pattern='^[a-f0-9]{24}$',
|
|
16031
|
+
title='Agent Id',
|
|
16032
|
+
)
|
|
16033
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
16034
|
+
description: str = Field(
|
|
16035
|
+
..., description='A description of this service.', min_length=1
|
|
16036
|
+
)
|
|
16037
|
+
is_active: bool = Field(
|
|
16038
|
+
...,
|
|
16039
|
+
description='Whether the newly-created service is active. Only active services are visible to users on the dashboard. You can later adjust the activeness of this service.',
|
|
16040
|
+
title='Is Active',
|
|
16041
|
+
)
|
|
16042
|
+
release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
|
|
16043
|
+
None,
|
|
16044
|
+
description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
|
|
16045
|
+
)
|
|
16046
|
+
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16047
|
+
..., description='The tags of this service.', title='Tags'
|
|
16048
|
+
)
|
|
16049
|
+
|
|
16050
|
+
|
|
16050
16051
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
16051
16052
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
16052
16053
|
description: str = Field(
|
|
@@ -16180,7 +16181,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16180
16181
|
)
|
|
16181
16182
|
|
|
16182
16183
|
|
|
16183
|
-
class
|
|
16184
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16184
16185
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16185
16186
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16186
16187
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16207,16 +16208,8 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16207
16208
|
)
|
|
16208
16209
|
|
|
16209
16210
|
|
|
16210
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16211
|
-
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16212
|
-
Field(
|
|
16213
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16214
|
-
)
|
|
16215
|
-
)
|
|
16216
|
-
|
|
16217
|
-
|
|
16218
16211
|
class UserGetUsersResponse(BaseModel):
|
|
16219
|
-
users: List[
|
|
16212
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16220
16213
|
..., description='Users in this organization.', title='Users'
|
|
16221
16214
|
)
|
|
16222
16215
|
has_more: bool = Field(
|
|
@@ -16229,12 +16222,6 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16229
16222
|
)
|
|
16230
16223
|
|
|
16231
16224
|
|
|
16232
|
-
class UserSearchUsersResponse(BaseModel):
|
|
16233
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16234
|
-
..., description='Users in this organization.', title='Users'
|
|
16235
|
-
)
|
|
16236
|
-
|
|
16237
|
-
|
|
16238
16225
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16239
16226
|
org_id: str = Field(..., title='Org Id')
|
|
16240
16227
|
id: str = Field(..., title='Id')
|
|
@@ -16334,7 +16321,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16334
16321
|
|
|
16335
16322
|
|
|
16336
16323
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16337
|
-
tool_invocations: List[
|
|
16324
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16338
16325
|
Field(
|
|
16339
16326
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16340
16327
|
)
|
|
@@ -16349,3 +16336,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16349
16336
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16350
16337
|
title='Continuation Token',
|
|
16351
16338
|
)
|
|
16339
|
+
|
|
16340
|
+
|
|
16341
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16342
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16343
|
+
Field(
|
|
16344
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16345
|
+
)
|
|
16346
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=ar-6ayofqErW1JyYxYeXSsvwrALCXEsRGmCSZzABW5w,139
|
|
2
2
|
amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
|
|
3
3
|
amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
|
|
4
4
|
amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
|
|
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
|
|
|
6
6
|
amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
|
|
7
7
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
8
8
|
amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
|
|
9
|
-
amigo_sdk/generated/model.py,sha256=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=oss6NKHiMuA9s4EGLZhrxzzH3CcalMEt3EnnU0bfOlM,457010
|
|
10
10
|
amigo_sdk/resources/conversation.py,sha256=u4kOx5LPbhX92L41UnmPmaF9TkQA5bGev8N00dMoP9I,14805
|
|
11
11
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
12
12
|
amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
|
|
13
13
|
amigo_sdk/resources/user.py,sha256=zikijiuGXgmkBVtrldor6XQGQK6jWXonDvNFuQs6XK4,3472
|
|
14
|
-
amigo_sdk-0.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
14
|
+
amigo_sdk-0.79.0.dist-info/METADATA,sha256=UGou5yb9Xi6Q6Q44mlA5PedZ9bBhLMS4NqgBkdxZU4M,8499
|
|
15
|
+
amigo_sdk-0.79.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.79.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.79.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.79.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|