amigo_sdk 0.107.0__py3-none-any.whl → 0.108.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 +189 -189
- {amigo_sdk-0.107.0.dist-info → amigo_sdk-0.108.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.107.0.dist-info → amigo_sdk-0.108.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.107.0.dist-info → amigo_sdk-0.108.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.107.0.dist-info → amigo_sdk-0.108.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.107.0.dist-info → amigo_sdk-0.108.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: 2026-02-
|
|
3
|
+
# timestamp: 2026-02-03T19:01:46+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1388,6 +1388,11 @@ class MongoCollectionsMetricEvaluationResultMetricEvaluationResultManualEvaluati
|
|
|
1388
1388
|
pass
|
|
1389
1389
|
|
|
1390
1390
|
|
|
1391
|
+
class MongoCollectionsServiceServiceTag(BaseModel):
|
|
1392
|
+
key: str = Field(..., title='Key')
|
|
1393
|
+
value: str | None = Field(..., title='Value')
|
|
1394
|
+
|
|
1395
|
+
|
|
1391
1396
|
class MongoCollectionsServiceServiceVersionSet(BaseModel):
|
|
1392
1397
|
agent_version_number: int | None = Field(
|
|
1393
1398
|
...,
|
|
@@ -1494,11 +1499,6 @@ class MongoCollectionsTemporaryPermissionGrantTemporaryPermissionGrantUserInfo(
|
|
|
1494
1499
|
pass
|
|
1495
1500
|
|
|
1496
1501
|
|
|
1497
|
-
class MongoCollectionsToolToolTag(BaseModel):
|
|
1498
|
-
key: str = Field(..., title='Key')
|
|
1499
|
-
value: str | None = Field(..., title='Value')
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
1502
|
class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1503
1503
|
major: int = Field(..., title='Major')
|
|
1504
1504
|
minor: int = Field(..., title='Minor')
|
|
@@ -1763,6 +1763,18 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolC
|
|
|
1763
1763
|
)
|
|
1764
1764
|
|
|
1765
1765
|
|
|
1766
|
+
class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction(
|
|
1767
|
+
BaseModel
|
|
1768
|
+
):
|
|
1769
|
+
type: Literal['inject-instruction'] = Field(..., title='Type')
|
|
1770
|
+
instruction: str = Field(..., min_length=1)
|
|
1771
|
+
overrides_instructions: bool = Field(
|
|
1772
|
+
...,
|
|
1773
|
+
description='During injection, whether the original instruction of the state is overriden with this instruction.',
|
|
1774
|
+
title='Overrides Instructions',
|
|
1775
|
+
)
|
|
1776
|
+
|
|
1777
|
+
|
|
1766
1778
|
class DynamicBehaviorSetCreateDynamicBehaviorSetResponse(BaseModel):
|
|
1767
1779
|
dynamic_behavior_set_id: str = Field(
|
|
1768
1780
|
...,
|
|
@@ -1777,18 +1789,6 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
|
|
|
1777
1789
|
pass
|
|
1778
1790
|
|
|
1779
1791
|
|
|
1780
|
-
class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction(
|
|
1781
|
-
BaseModel
|
|
1782
|
-
):
|
|
1783
|
-
type: Literal['inject-instruction'] = Field(..., title='Type')
|
|
1784
|
-
instruction: str = Field(..., min_length=1)
|
|
1785
|
-
overrides_instructions: bool = Field(
|
|
1786
|
-
...,
|
|
1787
|
-
description='During injection, whether the original instruction of the state is overriden with this instruction.',
|
|
1788
|
-
title='Overrides Instructions',
|
|
1789
|
-
)
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
1792
|
class DynamicBehaviorSetCreateDynamicBehaviorSetVersionResponse(BaseModel):
|
|
1793
1793
|
new_version_number: int = Field(
|
|
1794
1794
|
...,
|
|
@@ -10621,7 +10621,7 @@ class NextState9(NextState7):
|
|
|
10621
10621
|
pass
|
|
10622
10622
|
|
|
10623
10623
|
|
|
10624
|
-
class
|
|
10624
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
|
|
10625
10625
|
BaseModel
|
|
10626
10626
|
):
|
|
10627
10627
|
description: str = Field(..., min_length=1)
|
|
@@ -11003,6 +11003,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11003
11003
|
)
|
|
11004
11004
|
|
|
11005
11005
|
|
|
11006
|
+
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11007
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11008
|
+
run_count: int = Field(
|
|
11009
|
+
...,
|
|
11010
|
+
description='The number of times to run the unit test.',
|
|
11011
|
+
gt=0,
|
|
11012
|
+
title='Run Count',
|
|
11013
|
+
)
|
|
11014
|
+
|
|
11015
|
+
|
|
11006
11016
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11007
11017
|
simulation_unit_test_set_id: str = Field(
|
|
11008
11018
|
...,
|
|
@@ -11060,6 +11070,40 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11060
11070
|
)
|
|
11061
11071
|
|
|
11062
11072
|
|
|
11073
|
+
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11074
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11075
|
+
name: str = Field(
|
|
11076
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11077
|
+
)
|
|
11078
|
+
role: str = Field(
|
|
11079
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11080
|
+
)
|
|
11081
|
+
tags: dict[str, str | None] = Field(
|
|
11082
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11083
|
+
)
|
|
11084
|
+
is_deleted: bool = Field(
|
|
11085
|
+
...,
|
|
11086
|
+
description='Whether the simulation persona is deleted.',
|
|
11087
|
+
title='Is Deleted',
|
|
11088
|
+
)
|
|
11089
|
+
created_at: AwareDatetime = Field(
|
|
11090
|
+
...,
|
|
11091
|
+
description='The timestamp when the simulation persona was created.',
|
|
11092
|
+
title='Created At',
|
|
11093
|
+
)
|
|
11094
|
+
creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11095
|
+
..., description='The user who created the simulation persona.'
|
|
11096
|
+
)
|
|
11097
|
+
updated_at: AwareDatetime = Field(
|
|
11098
|
+
...,
|
|
11099
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11100
|
+
title='Updated At',
|
|
11101
|
+
)
|
|
11102
|
+
updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11103
|
+
..., description='The user who last updated the simulation persona.'
|
|
11104
|
+
)
|
|
11105
|
+
|
|
11106
|
+
|
|
11063
11107
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11064
11108
|
simulation_scenario_versions: list[SimulationScenarioVersion] = Field(
|
|
11065
11109
|
...,
|
|
@@ -11179,37 +11223,11 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11179
11223
|
)
|
|
11180
11224
|
|
|
11181
11225
|
|
|
11182
|
-
class
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
role: str = Field(
|
|
11188
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11189
|
-
)
|
|
11190
|
-
tags: dict[str, str | None] = Field(
|
|
11191
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11192
|
-
)
|
|
11193
|
-
is_deleted: bool = Field(
|
|
11194
|
-
...,
|
|
11195
|
-
description='Whether the simulation persona is deleted.',
|
|
11196
|
-
title='Is Deleted',
|
|
11197
|
-
)
|
|
11198
|
-
created_at: AwareDatetime = Field(
|
|
11199
|
-
...,
|
|
11200
|
-
description='The timestamp when the simulation persona was created.',
|
|
11201
|
-
title='Created At',
|
|
11202
|
-
)
|
|
11203
|
-
creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11204
|
-
..., description='The user who created the simulation persona.'
|
|
11205
|
-
)
|
|
11206
|
-
updated_at: AwareDatetime = Field(
|
|
11207
|
-
...,
|
|
11208
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11209
|
-
title='Updated At',
|
|
11210
|
-
)
|
|
11211
|
-
updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11212
|
-
..., description='The user who last updated the simulation persona.'
|
|
11226
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
11227
|
+
simulation_personas: list[
|
|
11228
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
11229
|
+
] = Field(
|
|
11230
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
11213
11231
|
)
|
|
11214
11232
|
|
|
11215
11233
|
|
|
@@ -11306,13 +11324,35 @@ class RunCount(RootModel[int]):
|
|
|
11306
11324
|
)
|
|
11307
11325
|
|
|
11308
11326
|
|
|
11309
|
-
class
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11327
|
+
class UnitTestRuns(
|
|
11328
|
+
RootModel[list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
11329
|
+
):
|
|
11330
|
+
root: list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
11331
|
+
Field(
|
|
11332
|
+
...,
|
|
11333
|
+
description='The unit test runs that are part of this set.',
|
|
11334
|
+
min_length=1,
|
|
11335
|
+
title='Unit Test Runs',
|
|
11336
|
+
)
|
|
11337
|
+
)
|
|
11338
|
+
|
|
11339
|
+
|
|
11340
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11341
|
+
name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
11342
|
+
None, description='The name of the simulation unit test set.'
|
|
11343
|
+
)
|
|
11344
|
+
description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
|
|
11345
|
+
default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
|
|
11346
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11347
|
+
title='Description',
|
|
11348
|
+
)
|
|
11349
|
+
unit_test_runs: UnitTestRuns | None = Field(
|
|
11350
|
+
None,
|
|
11351
|
+
description='The unit test runs that are part of this set.',
|
|
11352
|
+
title='Unit Test Runs',
|
|
11353
|
+
)
|
|
11354
|
+
tags: dict[str, str | None] | None = Field(
|
|
11355
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11316
11356
|
)
|
|
11317
11357
|
|
|
11318
11358
|
|
|
@@ -11349,22 +11389,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11349
11389
|
)
|
|
11350
11390
|
|
|
11351
11391
|
|
|
11352
|
-
class InvocationMode(Enum):
|
|
11353
|
-
regular = 'regular'
|
|
11354
|
-
conversation_simulation = 'conversation-simulation'
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11358
|
-
input_parameters: dict[str, Any] = Field(
|
|
11359
|
-
...,
|
|
11360
|
-
description='The input parameters for the tool invocation.',
|
|
11361
|
-
title='Input Parameters',
|
|
11362
|
-
)
|
|
11363
|
-
invocation_mode: InvocationMode = Field(
|
|
11364
|
-
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11365
|
-
)
|
|
11366
|
-
|
|
11367
|
-
|
|
11368
11392
|
class ToolModifyToolRequest(BaseModel):
|
|
11369
11393
|
description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
11370
11394
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11404,34 +11428,19 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11404
11428
|
)
|
|
11405
11429
|
|
|
11406
11430
|
|
|
11407
|
-
class
|
|
11408
|
-
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
)
|
|
11415
|
-
commit_branch: str = Field(
|
|
11416
|
-
...,
|
|
11417
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
11418
|
-
title='Commit Branch',
|
|
11419
|
-
)
|
|
11420
|
-
project_path: str = Field(
|
|
11421
|
-
...,
|
|
11422
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11423
|
-
pattern='^[-\\w\\d_/]+$',
|
|
11424
|
-
title='Project Path',
|
|
11425
|
-
)
|
|
11426
|
-
required_envvars: dict[str, str] = Field(
|
|
11431
|
+
class InvocationMode(Enum):
|
|
11432
|
+
regular = 'regular'
|
|
11433
|
+
conversation_simulation = 'conversation-simulation'
|
|
11434
|
+
|
|
11435
|
+
|
|
11436
|
+
class ToolTestToolRequestInput(BaseModel):
|
|
11437
|
+
input_parameters: dict[str, Any] = Field(
|
|
11427
11438
|
...,
|
|
11428
|
-
description='The
|
|
11429
|
-
title='
|
|
11439
|
+
description='The input parameters for the tool invocation.',
|
|
11440
|
+
title='Input Parameters',
|
|
11430
11441
|
)
|
|
11431
|
-
|
|
11432
|
-
...,
|
|
11433
|
-
description='The secret environment variables required for the tool to run.',
|
|
11434
|
-
title='Required Secret Envvars',
|
|
11442
|
+
invocation_mode: InvocationMode = Field(
|
|
11443
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11435
11444
|
)
|
|
11436
11445
|
|
|
11437
11446
|
|
|
@@ -11519,31 +11528,6 @@ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11519
11528
|
)
|
|
11520
11529
|
|
|
11521
11530
|
|
|
11522
|
-
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11523
|
-
org_id: str = Field(
|
|
11524
|
-
...,
|
|
11525
|
-
description='The ID of the organization that this user belongs to.',
|
|
11526
|
-
title='Org Id',
|
|
11527
|
-
)
|
|
11528
|
-
user_id: str = Field(
|
|
11529
|
-
..., description='The identifier of the user.', title='User Id'
|
|
11530
|
-
)
|
|
11531
|
-
first_name: str = Field(
|
|
11532
|
-
..., description='The first name of the user.', title='First Name'
|
|
11533
|
-
)
|
|
11534
|
-
last_name: str = Field(
|
|
11535
|
-
..., description='The last name of the user.', title='Last Name'
|
|
11536
|
-
)
|
|
11537
|
-
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11538
|
-
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11539
|
-
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11540
|
-
)
|
|
11541
|
-
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11542
|
-
preferences: MongoCollectionsUserUserPreferences = Field(
|
|
11543
|
-
..., description='The preferences of the user.'
|
|
11544
|
-
)
|
|
11545
|
-
|
|
11546
|
-
|
|
11547
11531
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11548
11532
|
id_token: str = Field(
|
|
11549
11533
|
...,
|
|
@@ -13199,7 +13183,7 @@ class ActionStateInput(BaseModel):
|
|
|
13199
13183
|
..., title='Boundary Constraints'
|
|
13200
13184
|
)
|
|
13201
13185
|
exit_conditions: list[
|
|
13202
|
-
|
|
13186
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
13203
13187
|
] = Field(..., title='Exit Conditions')
|
|
13204
13188
|
action_tool_call_specs: list[
|
|
13205
13189
|
OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
|
|
@@ -13351,7 +13335,7 @@ class DecisionStateInput(BaseModel):
|
|
|
13351
13335
|
type: Literal['decision'] = Field(..., title='Type')
|
|
13352
13336
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
13353
13337
|
exit_conditions: list[
|
|
13354
|
-
|
|
13338
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
13355
13339
|
] = Field(..., title='Exit Conditions')
|
|
13356
13340
|
decision_guidelines: list[PydanticBaseModelStrippedNonemptyString1] = Field(
|
|
13357
13341
|
..., title='Decision Guidelines'
|
|
@@ -13698,7 +13682,7 @@ class ServiceInstance(BaseModel):
|
|
|
13698
13682
|
agent_id: str = Field(
|
|
13699
13683
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13700
13684
|
)
|
|
13701
|
-
tags: list[
|
|
13685
|
+
tags: list[MongoCollectionsServiceServiceTag] = Field(
|
|
13702
13686
|
..., description='The tags of the service.', title='Tags'
|
|
13703
13687
|
)
|
|
13704
13688
|
keyterms: list[str] = Field(
|
|
@@ -13756,7 +13740,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13756
13740
|
description='Whether the unit test set has been deleted.',
|
|
13757
13741
|
title='Is Deleted',
|
|
13758
13742
|
)
|
|
13759
|
-
tags: list[
|
|
13743
|
+
tags: list[MongoCollectionsServiceServiceTag] = Field(
|
|
13760
13744
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13761
13745
|
)
|
|
13762
13746
|
creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13793,7 +13777,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13793
13777
|
description='Whether the unit test set has been deleted.',
|
|
13794
13778
|
title='Is Deleted',
|
|
13795
13779
|
)
|
|
13796
|
-
tags: list[
|
|
13780
|
+
tags: list[MongoCollectionsServiceServiceTag] = Field(
|
|
13797
13781
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13798
13782
|
)
|
|
13799
13783
|
creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13921,7 +13905,7 @@ class ToolInstance(BaseModel):
|
|
|
13921
13905
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
13922
13906
|
title='Secret Envvars',
|
|
13923
13907
|
)
|
|
13924
|
-
tags: list[
|
|
13908
|
+
tags: list[MongoCollectionsServiceServiceTag] = Field(
|
|
13925
13909
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
13926
13910
|
)
|
|
13927
13911
|
|
|
@@ -14643,7 +14627,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14643
14627
|
..., description='The description of the simulation unit test set.'
|
|
14644
14628
|
)
|
|
14645
14629
|
unit_test_runs: list[
|
|
14646
|
-
|
|
14630
|
+
SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14647
14631
|
] = Field(
|
|
14648
14632
|
...,
|
|
14649
14633
|
description='The unit test runs that are part of this set.',
|
|
@@ -14657,7 +14641,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14657
14641
|
|
|
14658
14642
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14659
14643
|
simulation_personas: list[
|
|
14660
|
-
|
|
14644
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
14661
14645
|
] = Field(
|
|
14662
14646
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14663
14647
|
)
|
|
@@ -14725,14 +14709,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
14725
14709
|
)
|
|
14726
14710
|
|
|
14727
14711
|
|
|
14728
|
-
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
14729
|
-
simulation_personas: list[
|
|
14730
|
-
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14731
|
-
] = Field(
|
|
14732
|
-
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14733
|
-
)
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
14712
|
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14737
14713
|
simulation_scenarios: list[
|
|
14738
14714
|
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
@@ -14757,38 +14733,6 @@ class SimulationUpdateSimulationUnitTestRequestSuccessCriterion(
|
|
|
14757
14733
|
pass
|
|
14758
14734
|
|
|
14759
14735
|
|
|
14760
|
-
class UnitTestRuns(
|
|
14761
|
-
RootModel[list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14762
|
-
):
|
|
14763
|
-
root: list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14764
|
-
Field(
|
|
14765
|
-
...,
|
|
14766
|
-
description='The unit test runs that are part of this set.',
|
|
14767
|
-
min_length=1,
|
|
14768
|
-
title='Unit Test Runs',
|
|
14769
|
-
)
|
|
14770
|
-
)
|
|
14771
|
-
|
|
14772
|
-
|
|
14773
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14774
|
-
name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
14775
|
-
None, description='The name of the simulation unit test set.'
|
|
14776
|
-
)
|
|
14777
|
-
description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
|
|
14778
|
-
default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
|
|
14779
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14780
|
-
title='Description',
|
|
14781
|
-
)
|
|
14782
|
-
unit_test_runs: UnitTestRuns | None = Field(
|
|
14783
|
-
None,
|
|
14784
|
-
description='The unit test runs that are part of this set.',
|
|
14785
|
-
title='Unit Test Runs',
|
|
14786
|
-
)
|
|
14787
|
-
tags: dict[str, str | None] | None = Field(
|
|
14788
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14789
|
-
)
|
|
14790
|
-
|
|
14791
|
-
|
|
14792
14736
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14793
14737
|
tool_versions: list[ToolVersionInstance] = Field(
|
|
14794
14738
|
...,
|
|
@@ -14830,7 +14774,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
14830
14774
|
|
|
14831
14775
|
|
|
14832
14776
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
14833
|
-
inputs: list[
|
|
14777
|
+
inputs: list[ToolTestToolRequestInput] = Field(
|
|
14834
14778
|
...,
|
|
14835
14779
|
description='The list of inputs for the tool invocation.',
|
|
14836
14780
|
max_length=10,
|
|
@@ -14854,6 +14798,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
14854
14798
|
deletes: list[DeleteRequest] | None = Field(default_factory=list, title='Deletes')
|
|
14855
14799
|
|
|
14856
14800
|
|
|
14801
|
+
class ToolTestToolRequest(BaseModel):
|
|
14802
|
+
inputs: list[ToolTestToolRequestInput] = Field(
|
|
14803
|
+
...,
|
|
14804
|
+
description='The list of inputs for the tool invocation.',
|
|
14805
|
+
max_length=10,
|
|
14806
|
+
min_length=1,
|
|
14807
|
+
title='Inputs',
|
|
14808
|
+
)
|
|
14809
|
+
commit_branch: str = Field(
|
|
14810
|
+
...,
|
|
14811
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
14812
|
+
title='Commit Branch',
|
|
14813
|
+
)
|
|
14814
|
+
project_path: str = Field(
|
|
14815
|
+
...,
|
|
14816
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
14817
|
+
pattern='^[-\\w\\d_/]+$',
|
|
14818
|
+
title='Project Path',
|
|
14819
|
+
)
|
|
14820
|
+
required_envvars: dict[str, str] = Field(
|
|
14821
|
+
...,
|
|
14822
|
+
description='The environment variables required for the tool to run.',
|
|
14823
|
+
title='Required Envvars',
|
|
14824
|
+
)
|
|
14825
|
+
required_secret_envvars: dict[str, str] = Field(
|
|
14826
|
+
...,
|
|
14827
|
+
description='The secret environment variables required for the tool to run.',
|
|
14828
|
+
title='Required Secret Envvars',
|
|
14829
|
+
)
|
|
14830
|
+
|
|
14831
|
+
|
|
14857
14832
|
class ToolTestToolResponse(ToolInvokeToolVersionResponse):
|
|
14858
14833
|
pass
|
|
14859
14834
|
|
|
@@ -14895,22 +14870,33 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
14895
14870
|
)
|
|
14896
14871
|
|
|
14897
14872
|
|
|
14898
|
-
class
|
|
14899
|
-
|
|
14900
|
-
...,
|
|
14873
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
14874
|
+
org_id: str = Field(
|
|
14875
|
+
...,
|
|
14876
|
+
description='The ID of the organization that this user belongs to.',
|
|
14877
|
+
title='Org Id',
|
|
14901
14878
|
)
|
|
14902
|
-
|
|
14903
|
-
..., description='
|
|
14879
|
+
user_id: str = Field(
|
|
14880
|
+
..., description='The identifier of the user.', title='User Id'
|
|
14904
14881
|
)
|
|
14905
|
-
|
|
14906
|
-
...,
|
|
14907
|
-
|
|
14908
|
-
|
|
14882
|
+
first_name: str = Field(
|
|
14883
|
+
..., description='The first name of the user.', title='First Name'
|
|
14884
|
+
)
|
|
14885
|
+
last_name: str = Field(
|
|
14886
|
+
..., description='The last name of the user.', title='Last Name'
|
|
14887
|
+
)
|
|
14888
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
14889
|
+
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
14890
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
14891
|
+
)
|
|
14892
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
14893
|
+
preferences: MongoCollectionsUserUserPreferences = Field(
|
|
14894
|
+
..., description='The preferences of the user.'
|
|
14909
14895
|
)
|
|
14910
14896
|
|
|
14911
14897
|
|
|
14912
14898
|
class UserSearchUsersResponse(BaseModel):
|
|
14913
|
-
users: list[
|
|
14899
|
+
users: list[UserGetUsersResponseUserInstance] = Field(
|
|
14914
14900
|
..., description='Users in this organization.', title='Users'
|
|
14915
14901
|
)
|
|
14916
14902
|
|
|
@@ -15053,7 +15039,7 @@ class Metric(BaseModel):
|
|
|
15053
15039
|
additional_notes: str | None = Field(
|
|
15054
15040
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15055
15041
|
)
|
|
15056
|
-
tags: list[
|
|
15042
|
+
tags: list[MongoCollectionsServiceServiceTag] = Field(
|
|
15057
15043
|
..., description='The tags of the metric.', title='Tags'
|
|
15058
15044
|
)
|
|
15059
15045
|
creator: MongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15126,7 +15112,7 @@ class MetricInstance(BaseModel):
|
|
|
15126
15112
|
additional_notes: str | None = Field(
|
|
15127
15113
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15128
15114
|
)
|
|
15129
|
-
tags: list[
|
|
15115
|
+
tags: list[MongoCollectionsServiceServiceTag] = Field(
|
|
15130
15116
|
..., description='The tags of the metric.', title='Tags'
|
|
15131
15117
|
)
|
|
15132
15118
|
creator: MongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15222,7 +15208,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15222
15208
|
is_deleted: bool = Field(
|
|
15223
15209
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15224
15210
|
)
|
|
15225
|
-
tags: list[
|
|
15211
|
+
tags: list[MongoCollectionsServiceServiceTag] = Field(
|
|
15226
15212
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15227
15213
|
)
|
|
15228
15214
|
creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15267,7 +15253,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15267
15253
|
is_deleted: bool = Field(
|
|
15268
15254
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15269
15255
|
)
|
|
15270
|
-
tags: list[
|
|
15256
|
+
tags: list[MongoCollectionsServiceServiceTag] = Field(
|
|
15271
15257
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15272
15258
|
)
|
|
15273
15259
|
creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15402,7 +15388,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersion(BaseModel)
|
|
|
15402
15388
|
)
|
|
15403
15389
|
actions: list[
|
|
15404
15390
|
Annotated[
|
|
15405
|
-
|
|
15391
|
+
DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction
|
|
15406
15392
|
| DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolCandidatesAction,
|
|
15407
15393
|
Field(discriminator='type'),
|
|
15408
15394
|
]
|
|
@@ -15423,7 +15409,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequest(BaseModel):
|
|
|
15423
15409
|
)
|
|
15424
15410
|
actions: list[
|
|
15425
15411
|
Annotated[
|
|
15426
|
-
|
|
15412
|
+
DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction
|
|
15427
15413
|
| DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidatesAction,
|
|
15428
15414
|
Field(discriminator='type'),
|
|
15429
15415
|
]
|
|
@@ -15791,6 +15777,20 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
15791
15777
|
)
|
|
15792
15778
|
|
|
15793
15779
|
|
|
15780
|
+
class UserGetUsersResponse(BaseModel):
|
|
15781
|
+
users: list[UserGetUsersResponseUserInstance] = Field(
|
|
15782
|
+
..., description='Users in this organization.', title='Users'
|
|
15783
|
+
)
|
|
15784
|
+
has_more: bool = Field(
|
|
15785
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
15786
|
+
)
|
|
15787
|
+
continuation_token: int | None = Field(
|
|
15788
|
+
...,
|
|
15789
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
15790
|
+
title='Continuation Token',
|
|
15791
|
+
)
|
|
15792
|
+
|
|
15793
|
+
|
|
15794
15794
|
class ServiceHierarchicalStateMachineInstance(BaseModel):
|
|
15795
15795
|
id: str = Field(..., description='The ID of the state machine version.', title='Id')
|
|
15796
15796
|
org_id: str = Field(
|
|
@@ -2,7 +2,7 @@ scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
scripts/aliases.json,sha256=c1_bkZyvNDQ8iMrKtUuZQqdP87GdLnRPrb3wjX533eQ,322
|
|
3
3
|
scripts/check.py,sha256=ikFavw1IjX51FNjO-kIzXjYdep3on0dKZHYvPElPFtc,2872
|
|
4
4
|
scripts/gen_models.py,sha256=c4J_gHYQIBL3CcKg5z8oUusLvPePytfvLdZ7STHBcNk,3553
|
|
5
|
-
amigo_sdk/__init__.py,sha256=
|
|
5
|
+
amigo_sdk/__init__.py,sha256=byESMm4cj5NxKcMw9_FZaagSYSxtMYiw3VC8aUykd5Y,140
|
|
6
6
|
amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
|
|
7
7
|
amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
|
|
8
8
|
amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
|
|
@@ -10,13 +10,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
|
|
|
10
10
|
amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
|
|
11
11
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
12
12
|
amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
|
|
13
|
-
amigo_sdk/generated/model.py,sha256=
|
|
13
|
+
amigo_sdk/generated/model.py,sha256=RPlpd9p-57eN8tcRlSGbUvkXrBYv_WizD3pzuFwPRlM,448694
|
|
14
14
|
amigo_sdk/resources/conversation.py,sha256=X47PbPA6NqdkqXgxAPOjlO1E0W7t695tn1tPWSikMOk,14807
|
|
15
15
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
16
16
|
amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
|
|
17
17
|
amigo_sdk/resources/user.py,sha256=P14lN-3fmIvELUjn_vpSaYpNsK-xd8zNmUV_KfcZPAU,4138
|
|
18
|
-
amigo_sdk-0.
|
|
19
|
-
amigo_sdk-0.
|
|
20
|
-
amigo_sdk-0.
|
|
21
|
-
amigo_sdk-0.
|
|
22
|
-
amigo_sdk-0.
|
|
18
|
+
amigo_sdk-0.108.0.dist-info/METADATA,sha256=rCwBKZxJ2ydNksuC22LFF03mOXgQKT2TH95u9OxtiZw,8500
|
|
19
|
+
amigo_sdk-0.108.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
20
|
+
amigo_sdk-0.108.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
21
|
+
amigo_sdk-0.108.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
22
|
+
amigo_sdk-0.108.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|