amigo_sdk 0.73.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 +156 -159
- {amigo_sdk-0.73.0.dist-info → amigo_sdk-0.79.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.73.0.dist-info → amigo_sdk-0.79.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.73.0.dist-info → amigo_sdk-0.79.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.73.0.dist-info → amigo_sdk-0.79.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.73.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'
|
|
@@ -1704,6 +1705,12 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1704
1705
|
)
|
|
1705
1706
|
|
|
1706
1707
|
|
|
1708
|
+
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1709
|
+
major: int = Field(..., title='Major')
|
|
1710
|
+
minor: int = Field(..., title='Minor')
|
|
1711
|
+
patch: int = Field(..., title='Patch')
|
|
1712
|
+
|
|
1713
|
+
|
|
1707
1714
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1708
1715
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1709
1716
|
user_org_id: str = Field(
|
|
@@ -1711,12 +1718,6 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1711
1718
|
)
|
|
1712
1719
|
|
|
1713
1720
|
|
|
1714
|
-
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1715
|
-
major: int = Field(..., title='Major')
|
|
1716
|
-
minor: int = Field(..., title='Minor')
|
|
1717
|
-
patch: int = Field(..., title='Patch')
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
1721
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1721
1722
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1722
1723
|
False,
|
|
@@ -10742,6 +10743,13 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10742
10743
|
)
|
|
10743
10744
|
|
|
10744
10745
|
|
|
10746
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10747
|
+
description: str = Field(..., min_length=1)
|
|
10748
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10749
|
+
..., title='Tags'
|
|
10750
|
+
)
|
|
10751
|
+
|
|
10752
|
+
|
|
10745
10753
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10746
10754
|
org_id: str = Field(
|
|
10747
10755
|
...,
|
|
@@ -10883,18 +10891,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10883
10891
|
)
|
|
10884
10892
|
|
|
10885
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
|
+
|
|
10886
10905
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10887
10906
|
OrganizationCreateOrganizationRequestPreferences
|
|
10888
10907
|
)
|
|
10889
10908
|
|
|
10890
10909
|
|
|
10891
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10892
|
-
description: str = Field(..., min_length=1)
|
|
10893
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10894
|
-
..., title='Tags'
|
|
10895
|
-
)
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
10910
|
class RoleAssignRoleRequest(BaseModel):
|
|
10899
10911
|
user_id: str = Field(
|
|
10900
10912
|
...,
|
|
@@ -11125,16 +11137,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11125
11137
|
)
|
|
11126
11138
|
|
|
11127
11139
|
|
|
11128
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11129
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11130
|
-
run_count: int = Field(
|
|
11131
|
-
...,
|
|
11132
|
-
description='The number of times to run the unit test.',
|
|
11133
|
-
gt=0,
|
|
11134
|
-
title='Run Count',
|
|
11135
|
-
)
|
|
11136
|
-
|
|
11137
|
-
|
|
11138
11140
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11139
11141
|
simulation_unit_test_set_id: str = Field(
|
|
11140
11142
|
...,
|
|
@@ -11225,6 +11227,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11225
11227
|
)
|
|
11226
11228
|
|
|
11227
11229
|
|
|
11230
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11231
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11232
|
+
name: str = Field(
|
|
11233
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11234
|
+
)
|
|
11235
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11236
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11237
|
+
)
|
|
11238
|
+
is_deleted: bool = Field(
|
|
11239
|
+
...,
|
|
11240
|
+
description='Whether the simulation scenario is deleted.',
|
|
11241
|
+
title='Is Deleted',
|
|
11242
|
+
)
|
|
11243
|
+
created_at: AwareDatetime = Field(
|
|
11244
|
+
...,
|
|
11245
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11246
|
+
title='Created At',
|
|
11247
|
+
)
|
|
11248
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11249
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11250
|
+
)
|
|
11251
|
+
updated_at: AwareDatetime = Field(
|
|
11252
|
+
...,
|
|
11253
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11254
|
+
title='Updated At',
|
|
11255
|
+
)
|
|
11256
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11257
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11258
|
+
)
|
|
11259
|
+
|
|
11260
|
+
|
|
11228
11261
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11229
11262
|
presigned_url: str = Field(
|
|
11230
11263
|
...,
|
|
@@ -11347,34 +11380,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11347
11380
|
)
|
|
11348
11381
|
|
|
11349
11382
|
|
|
11350
|
-
class
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
)
|
|
11355
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11356
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11357
|
-
)
|
|
11358
|
-
is_deleted: bool = Field(
|
|
11359
|
-
...,
|
|
11360
|
-
description='Whether the simulation scenario is deleted.',
|
|
11361
|
-
title='Is Deleted',
|
|
11362
|
-
)
|
|
11363
|
-
created_at: AwareDatetime = Field(
|
|
11364
|
-
...,
|
|
11365
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11366
|
-
title='Created At',
|
|
11367
|
-
)
|
|
11368
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11369
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11370
|
-
)
|
|
11371
|
-
updated_at: AwareDatetime = Field(
|
|
11383
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11384
|
+
simulation_scenarios: List[
|
|
11385
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11386
|
+
] = Field(
|
|
11372
11387
|
...,
|
|
11373
|
-
description='The
|
|
11374
|
-
title='
|
|
11375
|
-
)
|
|
11376
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11377
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11388
|
+
description='The list of simulation scenarios.',
|
|
11389
|
+
title='Simulation Scenarios',
|
|
11378
11390
|
)
|
|
11379
11391
|
|
|
11380
11392
|
|
|
@@ -11435,39 +11447,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11435
11447
|
)
|
|
11436
11448
|
|
|
11437
11449
|
|
|
11438
|
-
class
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
min_length=1,
|
|
11446
|
-
title='Unit Test Runs',
|
|
11447
|
-
)
|
|
11448
|
-
)
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11452
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11453
|
-
None, description='The name of the simulation unit test set.'
|
|
11454
|
-
)
|
|
11455
|
-
description: Optional[
|
|
11456
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11457
|
-
] = Field(
|
|
11458
|
-
{},
|
|
11459
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11460
|
-
title='Description',
|
|
11461
|
-
)
|
|
11462
|
-
unit_test_runs: Optional[
|
|
11463
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11464
|
-
] = Field(
|
|
11465
|
-
None,
|
|
11466
|
-
description='The unit test runs that are part of this set.',
|
|
11467
|
-
title='Unit Test Runs',
|
|
11468
|
-
)
|
|
11469
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11470
|
-
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',
|
|
11471
11457
|
)
|
|
11472
11458
|
|
|
11473
11459
|
|
|
@@ -11504,22 +11490,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11504
11490
|
)
|
|
11505
11491
|
|
|
11506
11492
|
|
|
11507
|
-
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11508
|
-
regular = 'regular'
|
|
11509
|
-
conversation_simulation = 'conversation-simulation'
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
-
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11513
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11514
|
-
...,
|
|
11515
|
-
description='The input parameters for the tool invocation.',
|
|
11516
|
-
title='Input Parameters',
|
|
11517
|
-
)
|
|
11518
|
-
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11519
|
-
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11520
|
-
)
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
11493
|
class ToolModifyToolRequest(BaseModel):
|
|
11524
11494
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11525
11495
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11562,34 +11532,19 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11562
11532
|
)
|
|
11563
11533
|
|
|
11564
11534
|
|
|
11565
|
-
class
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
)
|
|
11573
|
-
commit_branch: str = Field(
|
|
11574
|
-
...,
|
|
11575
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
11576
|
-
title='Commit Branch',
|
|
11577
|
-
)
|
|
11578
|
-
project_path: str = Field(
|
|
11579
|
-
...,
|
|
11580
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11581
|
-
pattern='^[-\\w\\d_/]+$',
|
|
11582
|
-
title='Project Path',
|
|
11583
|
-
)
|
|
11584
|
-
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(
|
|
11585
11542
|
...,
|
|
11586
|
-
description='The
|
|
11587
|
-
title='
|
|
11543
|
+
description='The input parameters for the tool invocation.',
|
|
11544
|
+
title='Input Parameters',
|
|
11588
11545
|
)
|
|
11589
|
-
|
|
11590
|
-
...,
|
|
11591
|
-
description='The secret environment variables required for the tool to run.',
|
|
11592
|
-
title='Required Secret Envvars',
|
|
11546
|
+
invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
|
|
11547
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11593
11548
|
)
|
|
11594
11549
|
|
|
11595
11550
|
|
|
@@ -14133,7 +14088,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14133
14088
|
description='The ID of the tool that this version belongs to.',
|
|
14134
14089
|
title='Tool Id',
|
|
14135
14090
|
)
|
|
14136
|
-
version:
|
|
14091
|
+
version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
14137
14092
|
..., description='The version of the tool.'
|
|
14138
14093
|
)
|
|
14139
14094
|
required_envvars: List[str] = Field(
|
|
@@ -14539,7 +14494,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14539
14494
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14540
14495
|
min_length=1,
|
|
14541
14496
|
)
|
|
14542
|
-
user_dimensions: List[
|
|
14497
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14543
14498
|
...,
|
|
14544
14499
|
description='User dimensions for the organization.',
|
|
14545
14500
|
title='User Dimensions',
|
|
@@ -14683,17 +14638,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14683
14638
|
)
|
|
14684
14639
|
|
|
14685
14640
|
|
|
14686
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14687
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14688
|
-
):
|
|
14689
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14690
|
-
...,
|
|
14691
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14692
|
-
min_length=1,
|
|
14693
|
-
title='User Dimensions',
|
|
14694
|
-
)
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
14641
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14698
14642
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14699
14643
|
None,
|
|
@@ -14882,7 +14826,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14882
14826
|
..., description='The description of the simulation unit test set.'
|
|
14883
14827
|
)
|
|
14884
14828
|
unit_test_runs: List[
|
|
14885
|
-
|
|
14829
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14886
14830
|
] = Field(
|
|
14887
14831
|
...,
|
|
14888
14832
|
description='The unit test runs that are part of this set.',
|
|
@@ -14920,7 +14864,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14920
14864
|
|
|
14921
14865
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14922
14866
|
simulation_scenarios: List[
|
|
14923
|
-
|
|
14867
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14924
14868
|
] = Field(
|
|
14925
14869
|
...,
|
|
14926
14870
|
description='The list of simulation scenarios.',
|
|
@@ -14976,16 +14920,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14976
14920
|
)
|
|
14977
14921
|
|
|
14978
14922
|
|
|
14979
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14980
|
-
simulation_scenarios: List[
|
|
14981
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14982
|
-
] = Field(
|
|
14983
|
-
...,
|
|
14984
|
-
description='The list of simulation scenarios.',
|
|
14985
|
-
title='Simulation Scenarios',
|
|
14986
|
-
)
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
14923
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14990
14924
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14991
14925
|
...,
|
|
@@ -14999,6 +14933,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
14999
14933
|
)
|
|
15000
14934
|
|
|
15001
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
|
+
|
|
15002
14972
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
15003
14973
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
15004
14974
|
...,
|
|
@@ -15040,7 +15010,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
15040
15010
|
|
|
15041
15011
|
|
|
15042
15012
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
15043
|
-
inputs: List[
|
|
15013
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15044
15014
|
...,
|
|
15045
15015
|
description='The list of inputs for the tool invocation.',
|
|
15046
15016
|
max_length=10,
|
|
@@ -15061,6 +15031,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
15061
15031
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
15062
15032
|
|
|
15063
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
|
+
|
|
15064
15065
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
15065
15066
|
|
|
15066
15067
|
|
|
@@ -15160,9 +15161,7 @@ class CreateConversationParametersQuery(BaseModel):
|
|
|
15160
15161
|
title='Current Agent Action Type',
|
|
15161
15162
|
)
|
|
15162
15163
|
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
15163
|
-
None,
|
|
15164
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15165
|
-
title='Audio Format',
|
|
15164
|
+
None, title='Audio Format'
|
|
15166
15165
|
)
|
|
15167
15166
|
response_audio_format: Optional[
|
|
15168
15167
|
Union[VoiceResponsePCMAudioFormat, VoiceResponseMP3AudioFormat]
|
|
@@ -15197,9 +15196,7 @@ class InteractWithConversationParametersQuery(BaseModel):
|
|
|
15197
15196
|
title='Request Audio Config',
|
|
15198
15197
|
)
|
|
15199
15198
|
audio_format: Optional[CreateConversationParametersQueryAudioFormat] = Field(
|
|
15200
|
-
None,
|
|
15201
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
15202
|
-
title='Audio Format',
|
|
15199
|
+
None, title='Audio Format'
|
|
15203
15200
|
)
|
|
15204
15201
|
response_audio_format: Optional[
|
|
15205
15202
|
Union[VoiceResponsePCMAudioFormat, VoiceResponseMP3AudioFormat]
|
|
@@ -16206,7 +16203,7 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16206
16203
|
tool_id: str = Field(
|
|
16207
16204
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16208
16205
|
)
|
|
16209
|
-
tool_version:
|
|
16206
|
+
tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
16210
16207
|
..., description='The version of the tool that was invoked.'
|
|
16211
16208
|
)
|
|
16212
16209
|
|
|
@@ -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
|