amigo_sdk 0.76.0__py3-none-any.whl → 0.77.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 +198 -198
- {amigo_sdk-0.76.0.dist-info → amigo_sdk-0.77.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.76.0.dist-info → amigo_sdk-0.77.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.76.0.dist-info → amigo_sdk-0.77.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.76.0.dist-info → amigo_sdk-0.77.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.76.0.dist-info → amigo_sdk-0.77.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-05T19:
|
|
3
|
+
# timestamp: 2025-12-05T19:51:30+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1956,20 +1956,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1956
1956
|
)
|
|
1957
1957
|
|
|
1958
1958
|
|
|
1959
|
-
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1960
|
-
BaseModel
|
|
1961
|
-
):
|
|
1962
|
-
id: str = Field(..., title='Id')
|
|
1963
|
-
name: str = Field(..., title='Name')
|
|
1964
|
-
is_active: bool = Field(..., title='Is Active')
|
|
1965
|
-
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1966
|
-
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1967
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1968
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1969
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1970
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
1959
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1974
1960
|
applied_to_services_ids: List[str] = Field(
|
|
1975
1961
|
...,
|
|
@@ -1990,14 +1976,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1990
1976
|
)
|
|
1991
1977
|
|
|
1992
1978
|
|
|
1993
|
-
class
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
)
|
|
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
|
|
2001
1991
|
|
|
2002
1992
|
|
|
2003
1993
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -11152,16 +11142,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11152
11142
|
)
|
|
11153
11143
|
|
|
11154
11144
|
|
|
11155
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11156
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11157
|
-
run_count: int = Field(
|
|
11158
|
-
...,
|
|
11159
|
-
description='The number of times to run the unit test.',
|
|
11160
|
-
gt=0,
|
|
11161
|
-
title='Run Count',
|
|
11162
|
-
)
|
|
11163
|
-
|
|
11164
|
-
|
|
11165
11145
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11166
11146
|
simulation_unit_test_set_id: str = Field(
|
|
11167
11147
|
...,
|
|
@@ -11221,40 +11201,6 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11221
11201
|
)
|
|
11222
11202
|
|
|
11223
11203
|
|
|
11224
|
-
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11225
|
-
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11226
|
-
name: str = Field(
|
|
11227
|
-
..., description='The name of the simulation persona.', title='Name'
|
|
11228
|
-
)
|
|
11229
|
-
role: str = Field(
|
|
11230
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11231
|
-
)
|
|
11232
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11233
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11234
|
-
)
|
|
11235
|
-
is_deleted: bool = Field(
|
|
11236
|
-
...,
|
|
11237
|
-
description='Whether the simulation persona is deleted.',
|
|
11238
|
-
title='Is Deleted',
|
|
11239
|
-
)
|
|
11240
|
-
created_at: AwareDatetime = Field(
|
|
11241
|
-
...,
|
|
11242
|
-
description='The timestamp when the simulation persona was created.',
|
|
11243
|
-
title='Created At',
|
|
11244
|
-
)
|
|
11245
|
-
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11246
|
-
..., description='The user who created the simulation persona.'
|
|
11247
|
-
)
|
|
11248
|
-
updated_at: AwareDatetime = Field(
|
|
11249
|
-
...,
|
|
11250
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11251
|
-
title='Updated At',
|
|
11252
|
-
)
|
|
11253
|
-
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11254
|
-
Field(..., description='The user who last updated the simulation persona.')
|
|
11255
|
-
)
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
11204
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11259
11205
|
simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
|
|
11260
11206
|
...,
|
|
@@ -11405,11 +11351,37 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11405
11351
|
)
|
|
11406
11352
|
|
|
11407
11353
|
|
|
11408
|
-
class
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11354
|
+
class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11355
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11356
|
+
name: str = Field(
|
|
11357
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11358
|
+
)
|
|
11359
|
+
role: str = Field(
|
|
11360
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11361
|
+
)
|
|
11362
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11363
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11364
|
+
)
|
|
11365
|
+
is_deleted: bool = Field(
|
|
11366
|
+
...,
|
|
11367
|
+
description='Whether the simulation persona is deleted.',
|
|
11368
|
+
title='Is Deleted',
|
|
11369
|
+
)
|
|
11370
|
+
created_at: AwareDatetime = Field(
|
|
11371
|
+
...,
|
|
11372
|
+
description='The timestamp when the simulation persona was created.',
|
|
11373
|
+
title='Created At',
|
|
11374
|
+
)
|
|
11375
|
+
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11376
|
+
..., description='The user who created the simulation persona.'
|
|
11377
|
+
)
|
|
11378
|
+
updated_at: AwareDatetime = Field(
|
|
11379
|
+
...,
|
|
11380
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11381
|
+
title='Updated At',
|
|
11382
|
+
)
|
|
11383
|
+
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11384
|
+
Field(..., description='The user who last updated the simulation persona.')
|
|
11413
11385
|
)
|
|
11414
11386
|
|
|
11415
11387
|
|
|
@@ -11480,39 +11452,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11480
11452
|
)
|
|
11481
11453
|
|
|
11482
11454
|
|
|
11483
|
-
class
|
|
11484
|
-
|
|
11485
|
-
|
|
11486
|
-
|
|
11487
|
-
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
min_length=1,
|
|
11491
|
-
title='Unit Test Runs',
|
|
11492
|
-
)
|
|
11493
|
-
)
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11497
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11498
|
-
None, description='The name of the simulation unit test set.'
|
|
11499
|
-
)
|
|
11500
|
-
description: Optional[
|
|
11501
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11502
|
-
] = Field(
|
|
11503
|
-
{},
|
|
11504
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11505
|
-
title='Description',
|
|
11506
|
-
)
|
|
11507
|
-
unit_test_runs: Optional[
|
|
11508
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11509
|
-
] = Field(
|
|
11510
|
-
None,
|
|
11511
|
-
description='The unit test runs that are part of this set.',
|
|
11512
|
-
title='Unit Test Runs',
|
|
11513
|
-
)
|
|
11514
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11515
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11455
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11456
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11457
|
+
run_count: int = Field(
|
|
11458
|
+
...,
|
|
11459
|
+
description='The number of times to run the unit test.',
|
|
11460
|
+
gt=0,
|
|
11461
|
+
title='Run Count',
|
|
11516
11462
|
)
|
|
11517
11463
|
|
|
11518
11464
|
|
|
@@ -11549,6 +11495,22 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11549
11495
|
)
|
|
11550
11496
|
|
|
11551
11497
|
|
|
11498
|
+
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11499
|
+
regular = 'regular'
|
|
11500
|
+
conversation_simulation = 'conversation-simulation'
|
|
11501
|
+
|
|
11502
|
+
|
|
11503
|
+
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11504
|
+
input_parameters: Dict[str, Any] = Field(
|
|
11505
|
+
...,
|
|
11506
|
+
description='The input parameters for the tool invocation.',
|
|
11507
|
+
title='Input Parameters',
|
|
11508
|
+
)
|
|
11509
|
+
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11510
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11511
|
+
)
|
|
11512
|
+
|
|
11513
|
+
|
|
11552
11514
|
class ToolModifyToolRequest(BaseModel):
|
|
11553
11515
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11554
11516
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11591,19 +11553,34 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11591
11553
|
)
|
|
11592
11554
|
|
|
11593
11555
|
|
|
11594
|
-
class
|
|
11595
|
-
|
|
11596
|
-
conversation_simulation = 'conversation-simulation'
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
class ToolTestToolRequestInput(BaseModel):
|
|
11600
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11556
|
+
class ToolTestToolRequest(BaseModel):
|
|
11557
|
+
inputs: List[ToolInvokeToolVersionRequestInput] = Field(
|
|
11601
11558
|
...,
|
|
11602
|
-
description='The
|
|
11603
|
-
|
|
11559
|
+
description='The list of inputs for the tool invocation.',
|
|
11560
|
+
max_length=10,
|
|
11561
|
+
min_length=1,
|
|
11562
|
+
title='Inputs',
|
|
11604
11563
|
)
|
|
11605
|
-
|
|
11606
|
-
...,
|
|
11564
|
+
commit_branch: str = Field(
|
|
11565
|
+
...,
|
|
11566
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
11567
|
+
title='Commit Branch',
|
|
11568
|
+
)
|
|
11569
|
+
project_path: str = Field(
|
|
11570
|
+
...,
|
|
11571
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11572
|
+
pattern='^[-\\w\\d_/]+$',
|
|
11573
|
+
title='Project Path',
|
|
11574
|
+
)
|
|
11575
|
+
required_envvars: Dict[str, str] = Field(
|
|
11576
|
+
...,
|
|
11577
|
+
description='The environment variables required for the tool to run.',
|
|
11578
|
+
title='Required Envvars',
|
|
11579
|
+
)
|
|
11580
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
11581
|
+
...,
|
|
11582
|
+
description='The secret environment variables required for the tool to run.',
|
|
11583
|
+
title='Required Secret Envvars',
|
|
11607
11584
|
)
|
|
11608
11585
|
|
|
11609
11586
|
|
|
@@ -11675,7 +11652,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11675
11652
|
)
|
|
11676
11653
|
|
|
11677
11654
|
|
|
11678
|
-
class
|
|
11655
|
+
class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
11679
11656
|
num_conversations: int = Field(
|
|
11680
11657
|
...,
|
|
11681
11658
|
description='The number of conversations the user has created.',
|
|
@@ -11693,31 +11670,6 @@ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11693
11670
|
)
|
|
11694
11671
|
|
|
11695
11672
|
|
|
11696
|
-
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11697
|
-
org_id: str = Field(
|
|
11698
|
-
...,
|
|
11699
|
-
description='The ID of the organization that this user belongs to.',
|
|
11700
|
-
title='Org Id',
|
|
11701
|
-
)
|
|
11702
|
-
user_id: str = Field(
|
|
11703
|
-
..., description='The identifier of the user.', title='User Id'
|
|
11704
|
-
)
|
|
11705
|
-
first_name: str = Field(
|
|
11706
|
-
..., description='The first name of the user.', title='First Name'
|
|
11707
|
-
)
|
|
11708
|
-
last_name: str = Field(
|
|
11709
|
-
..., description='The last name of the user.', title='Last Name'
|
|
11710
|
-
)
|
|
11711
|
-
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11712
|
-
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11713
|
-
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11714
|
-
)
|
|
11715
|
-
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11716
|
-
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
11717
|
-
..., description='The preferences of the user.'
|
|
11718
|
-
)
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
11673
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11722
11674
|
id_token: str = Field(
|
|
11723
11675
|
...,
|
|
@@ -12139,7 +12091,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12139
12091
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12140
12092
|
)
|
|
12141
12093
|
message_type: Optional[List[MessageType]] = Field(
|
|
12142
|
-
['
|
|
12094
|
+
['user-message', 'external-event', 'agent-message'],
|
|
12143
12095
|
description='The type of messages to retrieve.',
|
|
12144
12096
|
title='Message Type',
|
|
12145
12097
|
)
|
|
@@ -14484,7 +14436,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14484
14436
|
|
|
14485
14437
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14486
14438
|
dynamic_behavior_sets: List[
|
|
14487
|
-
|
|
14439
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14488
14440
|
] = Field(
|
|
14489
14441
|
...,
|
|
14490
14442
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14508,6 +14460,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14508
14460
|
)
|
|
14509
14461
|
|
|
14510
14462
|
|
|
14463
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14464
|
+
dynamic_behavior_sets: List[
|
|
14465
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14466
|
+
] = Field(
|
|
14467
|
+
...,
|
|
14468
|
+
description='The retrieved dynamic behavior sets.',
|
|
14469
|
+
title='Dynamic Behavior Sets',
|
|
14470
|
+
)
|
|
14471
|
+
|
|
14472
|
+
|
|
14511
14473
|
class MetricCreateMetricRequest(BaseModel):
|
|
14512
14474
|
name: str = Field(
|
|
14513
14475
|
...,
|
|
@@ -14924,7 +14886,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14924
14886
|
..., description='The description of the simulation unit test set.'
|
|
14925
14887
|
)
|
|
14926
14888
|
unit_test_runs: List[
|
|
14927
|
-
|
|
14889
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14928
14890
|
] = Field(
|
|
14929
14891
|
...,
|
|
14930
14892
|
description='The unit test runs that are part of this set.',
|
|
@@ -14938,7 +14900,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14938
14900
|
|
|
14939
14901
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14940
14902
|
simulation_personas: List[
|
|
14941
|
-
|
|
14903
|
+
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14942
14904
|
] = Field(
|
|
14943
14905
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14944
14906
|
)
|
|
@@ -15010,6 +14972,14 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
15010
14972
|
)
|
|
15011
14973
|
|
|
15012
14974
|
|
|
14975
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
14976
|
+
simulation_personas: List[
|
|
14977
|
+
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14978
|
+
] = Field(
|
|
14979
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14980
|
+
)
|
|
14981
|
+
|
|
14982
|
+
|
|
15013
14983
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
15014
14984
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
15015
14985
|
...,
|
|
@@ -15023,6 +14993,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
15023
14993
|
)
|
|
15024
14994
|
|
|
15025
14995
|
|
|
14996
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14997
|
+
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14998
|
+
):
|
|
14999
|
+
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
15000
|
+
Field(
|
|
15001
|
+
...,
|
|
15002
|
+
description='The unit test runs that are part of this set.',
|
|
15003
|
+
min_length=1,
|
|
15004
|
+
title='Unit Test Runs',
|
|
15005
|
+
)
|
|
15006
|
+
)
|
|
15007
|
+
|
|
15008
|
+
|
|
15009
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
15010
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15011
|
+
None, description='The name of the simulation unit test set.'
|
|
15012
|
+
)
|
|
15013
|
+
description: Optional[
|
|
15014
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
15015
|
+
] = Field(
|
|
15016
|
+
{},
|
|
15017
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
15018
|
+
title='Description',
|
|
15019
|
+
)
|
|
15020
|
+
unit_test_runs: Optional[
|
|
15021
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
15022
|
+
] = Field(
|
|
15023
|
+
None,
|
|
15024
|
+
description='The unit test runs that are part of this set.',
|
|
15025
|
+
title='Unit Test Runs',
|
|
15026
|
+
)
|
|
15027
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
15028
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
15029
|
+
)
|
|
15030
|
+
|
|
15031
|
+
|
|
15026
15032
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
15027
15033
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
15028
15034
|
...,
|
|
@@ -15064,7 +15070,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
15064
15070
|
|
|
15065
15071
|
|
|
15066
15072
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
15067
|
-
inputs: List[
|
|
15073
|
+
inputs: List[ToolInvokeToolVersionRequestInput] = Field(
|
|
15068
15074
|
...,
|
|
15069
15075
|
description='The list of inputs for the tool invocation.',
|
|
15070
15076
|
max_length=10,
|
|
@@ -15085,37 +15091,6 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
15085
15091
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
15086
15092
|
|
|
15087
15093
|
|
|
15088
|
-
class ToolTestToolRequest(BaseModel):
|
|
15089
|
-
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15090
|
-
...,
|
|
15091
|
-
description='The list of inputs for the tool invocation.',
|
|
15092
|
-
max_length=10,
|
|
15093
|
-
min_length=1,
|
|
15094
|
-
title='Inputs',
|
|
15095
|
-
)
|
|
15096
|
-
commit_branch: str = Field(
|
|
15097
|
-
...,
|
|
15098
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
15099
|
-
title='Commit Branch',
|
|
15100
|
-
)
|
|
15101
|
-
project_path: str = Field(
|
|
15102
|
-
...,
|
|
15103
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
15104
|
-
pattern='^[-\\w\\d_/]+$',
|
|
15105
|
-
title='Project Path',
|
|
15106
|
-
)
|
|
15107
|
-
required_envvars: Dict[str, str] = Field(
|
|
15108
|
-
...,
|
|
15109
|
-
description='The environment variables required for the tool to run.',
|
|
15110
|
-
title='Required Envvars',
|
|
15111
|
-
)
|
|
15112
|
-
required_secret_envvars: Dict[str, str] = Field(
|
|
15113
|
-
...,
|
|
15114
|
-
description='The secret environment variables required for the tool to run.',
|
|
15115
|
-
title='Required Secret Envvars',
|
|
15116
|
-
)
|
|
15117
|
-
|
|
15118
|
-
|
|
15119
15094
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
15120
15095
|
|
|
15121
15096
|
|
|
@@ -15156,22 +15131,33 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15156
15131
|
)
|
|
15157
15132
|
|
|
15158
15133
|
|
|
15159
|
-
class
|
|
15160
|
-
|
|
15161
|
-
...,
|
|
15134
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15135
|
+
org_id: str = Field(
|
|
15136
|
+
...,
|
|
15137
|
+
description='The ID of the organization that this user belongs to.',
|
|
15138
|
+
title='Org Id',
|
|
15162
15139
|
)
|
|
15163
|
-
|
|
15164
|
-
..., description='
|
|
15140
|
+
user_id: str = Field(
|
|
15141
|
+
..., description='The identifier of the user.', title='User Id'
|
|
15165
15142
|
)
|
|
15166
|
-
|
|
15167
|
-
...,
|
|
15168
|
-
|
|
15169
|
-
|
|
15143
|
+
first_name: str = Field(
|
|
15144
|
+
..., description='The first name of the user.', title='First Name'
|
|
15145
|
+
)
|
|
15146
|
+
last_name: str = Field(
|
|
15147
|
+
..., description='The last name of the user.', title='Last Name'
|
|
15148
|
+
)
|
|
15149
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
15150
|
+
user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
|
|
15151
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15152
|
+
)
|
|
15153
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
15154
|
+
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
15155
|
+
..., description='The preferences of the user.'
|
|
15170
15156
|
)
|
|
15171
15157
|
|
|
15172
15158
|
|
|
15173
15159
|
class UserSearchUsersResponse(BaseModel):
|
|
15174
|
-
users: List[
|
|
15160
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15175
15161
|
..., description='Users in this organization.', title='Users'
|
|
15176
15162
|
)
|
|
15177
15163
|
|
|
@@ -16197,7 +16183,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16197
16183
|
)
|
|
16198
16184
|
|
|
16199
16185
|
|
|
16200
|
-
class
|
|
16186
|
+
class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16201
16187
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16202
16188
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16203
16189
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16224,6 +16210,28 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16224
16210
|
)
|
|
16225
16211
|
|
|
16226
16212
|
|
|
16213
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16214
|
+
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16215
|
+
Field(
|
|
16216
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16217
|
+
)
|
|
16218
|
+
)
|
|
16219
|
+
|
|
16220
|
+
|
|
16221
|
+
class UserGetUsersResponse(BaseModel):
|
|
16222
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16223
|
+
..., description='Users in this organization.', title='Users'
|
|
16224
|
+
)
|
|
16225
|
+
has_more: bool = Field(
|
|
16226
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
16227
|
+
)
|
|
16228
|
+
continuation_token: Optional[int] = Field(
|
|
16229
|
+
...,
|
|
16230
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
16231
|
+
title='Continuation Token',
|
|
16232
|
+
)
|
|
16233
|
+
|
|
16234
|
+
|
|
16227
16235
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16228
16236
|
org_id: str = Field(..., title='Org Id')
|
|
16229
16237
|
id: str = Field(..., title='Id')
|
|
@@ -16323,7 +16331,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16323
16331
|
|
|
16324
16332
|
|
|
16325
16333
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16326
|
-
tool_invocations: List[
|
|
16334
|
+
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16327
16335
|
Field(
|
|
16328
16336
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16329
16337
|
)
|
|
@@ -16338,11 +16346,3 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16338
16346
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16339
16347
|
title='Continuation Token',
|
|
16340
16348
|
)
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16344
|
-
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16345
|
-
Field(
|
|
16346
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16347
|
-
)
|
|
16348
|
-
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=JTPgIO7jxqmWqA6C9SaT7p8J1TahHegxAG-qS2sN1UA,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=3xwqqHW4ltUk0_MV8B4OCTLQxPgZCEoCq4QA_c1BpZ4,457018
|
|
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.77.0.dist-info/METADATA,sha256=ITC0cPeXZwdfM1fZsm0o_P51pWFhNwt-3Tij4yUPB7s,8499
|
|
15
|
+
amigo_sdk-0.77.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.77.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.77.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.77.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|