amigo_sdk 0.110.0__py3-none-any.whl → 0.111.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.110.0.dist-info → amigo_sdk-0.111.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.110.0.dist-info → amigo_sdk-0.111.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.110.0.dist-info → amigo_sdk-0.111.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.110.0.dist-info → amigo_sdk-0.111.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.110.0.dist-info → amigo_sdk-0.111.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-03T22:52:28+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -10581,6 +10581,11 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10581
10581
|
)
|
|
10582
10582
|
|
|
10583
10583
|
|
|
10584
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10585
|
+
description: str = Field(..., min_length=1)
|
|
10586
|
+
tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
|
|
10587
|
+
|
|
10588
|
+
|
|
10584
10589
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10585
10590
|
org_id: str = Field(
|
|
10586
10591
|
...,
|
|
@@ -10755,17 +10760,23 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10755
10760
|
)
|
|
10756
10761
|
|
|
10757
10762
|
|
|
10763
|
+
class UserDimensions(
|
|
10764
|
+
RootModel[list[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10765
|
+
):
|
|
10766
|
+
root: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10767
|
+
...,
|
|
10768
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10769
|
+
min_length=1,
|
|
10770
|
+
title='User Dimensions',
|
|
10771
|
+
)
|
|
10772
|
+
|
|
10773
|
+
|
|
10758
10774
|
class OrganizationModifyOrganizationRequestPreferences(
|
|
10759
10775
|
OrganizationCreateOrganizationRequestPreferences
|
|
10760
10776
|
):
|
|
10761
10777
|
pass
|
|
10762
10778
|
|
|
10763
10779
|
|
|
10764
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10765
|
-
description: str = Field(..., min_length=1)
|
|
10766
|
-
tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
10780
|
class RoleAssignRoleRequest(BaseModel):
|
|
10770
10781
|
user_id: str = Field(
|
|
10771
10782
|
...,
|
|
@@ -10889,22 +10900,6 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
10889
10900
|
)
|
|
10890
10901
|
|
|
10891
10902
|
|
|
10892
|
-
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
10893
|
-
agent_version_number: int | None = Field(
|
|
10894
|
-
...,
|
|
10895
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
10896
|
-
title='Agent Version Number',
|
|
10897
|
-
)
|
|
10898
|
-
service_hierarchical_state_machine_version_number: int | None = Field(
|
|
10899
|
-
...,
|
|
10900
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
10901
|
-
title='Service Hierarchical State Machine Version Number',
|
|
10902
|
-
)
|
|
10903
|
-
llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
10904
|
-
Field(..., title='Llm Model Preferences')
|
|
10905
|
-
)
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
10903
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
10909
10904
|
background: str = Field(
|
|
10910
10905
|
..., description='The background of the simulation persona.', min_length=1
|
|
@@ -11010,16 +11005,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11010
11005
|
)
|
|
11011
11006
|
|
|
11012
11007
|
|
|
11013
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11014
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11015
|
-
run_count: int = Field(
|
|
11016
|
-
...,
|
|
11017
|
-
description='The number of times to run the unit test.',
|
|
11018
|
-
gt=0,
|
|
11019
|
-
title='Run Count',
|
|
11020
|
-
)
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
11008
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11024
11009
|
simulation_unit_test_set_id: str = Field(
|
|
11025
11010
|
...,
|
|
@@ -11077,6 +11062,40 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11077
11062
|
)
|
|
11078
11063
|
|
|
11079
11064
|
|
|
11065
|
+
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11066
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11067
|
+
name: str = Field(
|
|
11068
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11069
|
+
)
|
|
11070
|
+
role: str = Field(
|
|
11071
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11072
|
+
)
|
|
11073
|
+
tags: dict[str, str | None] = Field(
|
|
11074
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11075
|
+
)
|
|
11076
|
+
is_deleted: bool = Field(
|
|
11077
|
+
...,
|
|
11078
|
+
description='Whether the simulation persona is deleted.',
|
|
11079
|
+
title='Is Deleted',
|
|
11080
|
+
)
|
|
11081
|
+
created_at: AwareDatetime = Field(
|
|
11082
|
+
...,
|
|
11083
|
+
description='The timestamp when the simulation persona was created.',
|
|
11084
|
+
title='Created At',
|
|
11085
|
+
)
|
|
11086
|
+
creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11087
|
+
..., description='The user who created the simulation persona.'
|
|
11088
|
+
)
|
|
11089
|
+
updated_at: AwareDatetime = Field(
|
|
11090
|
+
...,
|
|
11091
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11092
|
+
title='Updated At',
|
|
11093
|
+
)
|
|
11094
|
+
updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11095
|
+
..., description='The user who last updated the simulation persona.'
|
|
11096
|
+
)
|
|
11097
|
+
|
|
11098
|
+
|
|
11080
11099
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11081
11100
|
simulation_scenario_versions: list[SimulationScenarioVersion] = Field(
|
|
11082
11101
|
...,
|
|
@@ -11227,37 +11246,11 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11227
11246
|
)
|
|
11228
11247
|
|
|
11229
11248
|
|
|
11230
|
-
class
|
|
11231
|
-
|
|
11232
|
-
|
|
11233
|
-
|
|
11234
|
-
|
|
11235
|
-
role: str = Field(
|
|
11236
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11237
|
-
)
|
|
11238
|
-
tags: dict[str, str | None] = Field(
|
|
11239
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11240
|
-
)
|
|
11241
|
-
is_deleted: bool = Field(
|
|
11242
|
-
...,
|
|
11243
|
-
description='Whether the simulation persona is deleted.',
|
|
11244
|
-
title='Is Deleted',
|
|
11245
|
-
)
|
|
11246
|
-
created_at: AwareDatetime = Field(
|
|
11247
|
-
...,
|
|
11248
|
-
description='The timestamp when the simulation persona was created.',
|
|
11249
|
-
title='Created At',
|
|
11250
|
-
)
|
|
11251
|
-
creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11252
|
-
..., description='The user who created the simulation persona.'
|
|
11253
|
-
)
|
|
11254
|
-
updated_at: AwareDatetime = Field(
|
|
11255
|
-
...,
|
|
11256
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11257
|
-
title='Updated At',
|
|
11258
|
-
)
|
|
11259
|
-
updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11260
|
-
..., description='The user who last updated the simulation persona.'
|
|
11249
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
11250
|
+
simulation_personas: list[
|
|
11251
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
11252
|
+
] = Field(
|
|
11253
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
11261
11254
|
)
|
|
11262
11255
|
|
|
11263
11256
|
|
|
@@ -11333,35 +11326,13 @@ class RunCount(RootModel[int]):
|
|
|
11333
11326
|
)
|
|
11334
11327
|
|
|
11335
11328
|
|
|
11336
|
-
class
|
|
11337
|
-
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
min_length=1,
|
|
11344
|
-
title='Unit Test Runs',
|
|
11345
|
-
)
|
|
11346
|
-
)
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11350
|
-
name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
11351
|
-
None, description='The name of the simulation unit test set.'
|
|
11352
|
-
)
|
|
11353
|
-
description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
|
|
11354
|
-
default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
|
|
11355
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11356
|
-
title='Description',
|
|
11357
|
-
)
|
|
11358
|
-
unit_test_runs: UnitTestRuns | None = Field(
|
|
11359
|
-
None,
|
|
11360
|
-
description='The unit test runs that are part of this set.',
|
|
11361
|
-
title='Unit Test Runs',
|
|
11362
|
-
)
|
|
11363
|
-
tags: dict[str, str | None] | None = Field(
|
|
11364
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11329
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11330
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11331
|
+
run_count: int = Field(
|
|
11332
|
+
...,
|
|
11333
|
+
description='The number of times to run the unit test.',
|
|
11334
|
+
gt=0,
|
|
11335
|
+
title='Run Count',
|
|
11365
11336
|
)
|
|
11366
11337
|
|
|
11367
11338
|
|
|
@@ -11398,6 +11369,22 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11398
11369
|
)
|
|
11399
11370
|
|
|
11400
11371
|
|
|
11372
|
+
class InvocationMode(Enum):
|
|
11373
|
+
regular = 'regular'
|
|
11374
|
+
conversation_simulation = 'conversation-simulation'
|
|
11375
|
+
|
|
11376
|
+
|
|
11377
|
+
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11378
|
+
input_parameters: dict[str, Any] = Field(
|
|
11379
|
+
...,
|
|
11380
|
+
description='The input parameters for the tool invocation.',
|
|
11381
|
+
title='Input Parameters',
|
|
11382
|
+
)
|
|
11383
|
+
invocation_mode: InvocationMode = Field(
|
|
11384
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11385
|
+
)
|
|
11386
|
+
|
|
11387
|
+
|
|
11401
11388
|
class ToolModifyToolRequest(BaseModel):
|
|
11402
11389
|
description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
11403
11390
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11437,19 +11424,34 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11437
11424
|
)
|
|
11438
11425
|
|
|
11439
11426
|
|
|
11440
|
-
class
|
|
11441
|
-
|
|
11442
|
-
conversation_simulation = 'conversation-simulation'
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
class ToolTestToolRequestInput(BaseModel):
|
|
11446
|
-
input_parameters: dict[str, Any] = Field(
|
|
11427
|
+
class ToolTestToolRequest(BaseModel):
|
|
11428
|
+
inputs: list[ToolInvokeToolVersionRequestInput] = Field(
|
|
11447
11429
|
...,
|
|
11448
|
-
description='The
|
|
11449
|
-
|
|
11430
|
+
description='The list of inputs for the tool invocation.',
|
|
11431
|
+
max_length=10,
|
|
11432
|
+
min_length=1,
|
|
11433
|
+
title='Inputs',
|
|
11450
11434
|
)
|
|
11451
|
-
|
|
11452
|
-
...,
|
|
11435
|
+
commit_branch: str = Field(
|
|
11436
|
+
...,
|
|
11437
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
11438
|
+
title='Commit Branch',
|
|
11439
|
+
)
|
|
11440
|
+
project_path: str = Field(
|
|
11441
|
+
...,
|
|
11442
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11443
|
+
pattern='^[-\\w\\d_/]+$',
|
|
11444
|
+
title='Project Path',
|
|
11445
|
+
)
|
|
11446
|
+
required_envvars: dict[str, str] = Field(
|
|
11447
|
+
...,
|
|
11448
|
+
description='The environment variables required for the tool to run.',
|
|
11449
|
+
title='Required Envvars',
|
|
11450
|
+
)
|
|
11451
|
+
required_secret_envvars: dict[str, str] = Field(
|
|
11452
|
+
...,
|
|
11453
|
+
description='The secret environment variables required for the tool to run.',
|
|
11454
|
+
title='Required Secret Envvars',
|
|
11453
11455
|
)
|
|
11454
11456
|
|
|
11455
11457
|
|
|
@@ -11971,7 +11973,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
11971
11973
|
title='Id',
|
|
11972
11974
|
)
|
|
11973
11975
|
message_type: list[MessageType] | None = Field(
|
|
11974
|
-
['
|
|
11976
|
+
['user-message', 'agent-message', 'external-event'],
|
|
11975
11977
|
description='The type of messages to retrieve.',
|
|
11976
11978
|
title='Message Type',
|
|
11977
11979
|
)
|
|
@@ -14308,7 +14310,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14308
14310
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14309
14311
|
min_length=1,
|
|
14310
14312
|
)
|
|
14311
|
-
user_dimensions: list[
|
|
14313
|
+
user_dimensions: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14312
14314
|
...,
|
|
14313
14315
|
description='User dimensions for the organization.',
|
|
14314
14316
|
title='User Dimensions',
|
|
@@ -14478,17 +14480,6 @@ class OrganizationGetApiKeysResponse(BaseModel):
|
|
|
14478
14480
|
)
|
|
14479
14481
|
|
|
14480
14482
|
|
|
14481
|
-
class UserDimensions(
|
|
14482
|
-
RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14483
|
-
):
|
|
14484
|
-
root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14485
|
-
...,
|
|
14486
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14487
|
-
min_length=1,
|
|
14488
|
-
title='User Dimensions',
|
|
14489
|
-
)
|
|
14490
|
-
|
|
14491
|
-
|
|
14492
14483
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14493
14484
|
title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
14494
14485
|
None,
|
|
@@ -14586,40 +14577,19 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
14586
14577
|
)
|
|
14587
14578
|
|
|
14588
14579
|
|
|
14589
|
-
class
|
|
14590
|
-
|
|
14591
|
-
...,
|
|
14592
|
-
description='The ID of the state machine that this service uses.',
|
|
14593
|
-
pattern='^[a-f0-9]{24}$',
|
|
14594
|
-
title='Service Hierarchical State Machine Id',
|
|
14595
|
-
)
|
|
14596
|
-
agent_id: str = Field(
|
|
14597
|
-
...,
|
|
14598
|
-
description='The ID of the agent that this service uses.',
|
|
14599
|
-
pattern='^[a-f0-9]{24}$',
|
|
14600
|
-
title='Agent Id',
|
|
14601
|
-
)
|
|
14602
|
-
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
14603
|
-
description: str = Field(
|
|
14604
|
-
..., description='A description of this service.', min_length=1
|
|
14605
|
-
)
|
|
14606
|
-
is_active: bool = Field(
|
|
14580
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14581
|
+
agent_version_number: int | None = Field(
|
|
14607
14582
|
...,
|
|
14608
|
-
description='
|
|
14609
|
-
title='
|
|
14610
|
-
)
|
|
14611
|
-
release_version_set: ServiceUpsertServiceVersionSetRequestVersionSet | None = Field(
|
|
14612
|
-
None,
|
|
14613
|
-
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.',
|
|
14583
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14584
|
+
title='Agent Version Number',
|
|
14614
14585
|
)
|
|
14615
|
-
|
|
14586
|
+
service_hierarchical_state_machine_version_number: int | None = Field(
|
|
14616
14587
|
...,
|
|
14617
|
-
description='
|
|
14618
|
-
|
|
14619
|
-
title='Keyterms',
|
|
14588
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14589
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14620
14590
|
)
|
|
14621
|
-
|
|
14622
|
-
...,
|
|
14591
|
+
llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
14592
|
+
Field(..., title='Llm Model Preferences')
|
|
14623
14593
|
)
|
|
14624
14594
|
|
|
14625
14595
|
|
|
@@ -14644,7 +14614,7 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14644
14614
|
|
|
14645
14615
|
|
|
14646
14616
|
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14647
|
-
version_set:
|
|
14617
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14648
14618
|
..., description='The version set to upsert.'
|
|
14649
14619
|
)
|
|
14650
14620
|
|
|
@@ -14698,7 +14668,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14698
14668
|
..., description='The description of the simulation unit test set.'
|
|
14699
14669
|
)
|
|
14700
14670
|
unit_test_runs: list[
|
|
14701
|
-
|
|
14671
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14702
14672
|
] = Field(
|
|
14703
14673
|
...,
|
|
14704
14674
|
description='The unit test runs that are part of this set.',
|
|
@@ -14712,7 +14682,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14712
14682
|
|
|
14713
14683
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14714
14684
|
simulation_personas: list[
|
|
14715
|
-
|
|
14685
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
14716
14686
|
] = Field(
|
|
14717
14687
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14718
14688
|
)
|
|
@@ -14780,14 +14750,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
14780
14750
|
)
|
|
14781
14751
|
|
|
14782
14752
|
|
|
14783
|
-
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
14784
|
-
simulation_personas: list[
|
|
14785
|
-
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14786
|
-
] = Field(
|
|
14787
|
-
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14788
|
-
)
|
|
14789
|
-
|
|
14790
|
-
|
|
14791
14753
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14792
14754
|
simulation_unit_test_sets: list[SimulationUnitTestSet] = Field(
|
|
14793
14755
|
...,
|
|
@@ -14802,6 +14764,38 @@ class SimulationUpdateSimulationUnitTestRequestSuccessCriterion(
|
|
|
14802
14764
|
pass
|
|
14803
14765
|
|
|
14804
14766
|
|
|
14767
|
+
class UnitTestRuns(
|
|
14768
|
+
RootModel[list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14769
|
+
):
|
|
14770
|
+
root: list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14771
|
+
Field(
|
|
14772
|
+
...,
|
|
14773
|
+
description='The unit test runs that are part of this set.',
|
|
14774
|
+
min_length=1,
|
|
14775
|
+
title='Unit Test Runs',
|
|
14776
|
+
)
|
|
14777
|
+
)
|
|
14778
|
+
|
|
14779
|
+
|
|
14780
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14781
|
+
name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
14782
|
+
None, description='The name of the simulation unit test set.'
|
|
14783
|
+
)
|
|
14784
|
+
description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
|
|
14785
|
+
default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
|
|
14786
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14787
|
+
title='Description',
|
|
14788
|
+
)
|
|
14789
|
+
unit_test_runs: UnitTestRuns | None = Field(
|
|
14790
|
+
None,
|
|
14791
|
+
description='The unit test runs that are part of this set.',
|
|
14792
|
+
title='Unit Test Runs',
|
|
14793
|
+
)
|
|
14794
|
+
tags: dict[str, str | None] | None = Field(
|
|
14795
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14796
|
+
)
|
|
14797
|
+
|
|
14798
|
+
|
|
14805
14799
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14806
14800
|
tool_versions: list[ToolVersionInstance] = Field(
|
|
14807
14801
|
...,
|
|
@@ -14843,7 +14837,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
14843
14837
|
|
|
14844
14838
|
|
|
14845
14839
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
14846
|
-
inputs: list[
|
|
14840
|
+
inputs: list[ToolInvokeToolVersionRequestInput] = Field(
|
|
14847
14841
|
...,
|
|
14848
14842
|
description='The list of inputs for the tool invocation.',
|
|
14849
14843
|
max_length=10,
|
|
@@ -14867,37 +14861,6 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
14867
14861
|
deletes: list[DeleteRequest] | None = Field(default_factory=list, title='Deletes')
|
|
14868
14862
|
|
|
14869
14863
|
|
|
14870
|
-
class ToolTestToolRequest(BaseModel):
|
|
14871
|
-
inputs: list[ToolTestToolRequestInput] = Field(
|
|
14872
|
-
...,
|
|
14873
|
-
description='The list of inputs for the tool invocation.',
|
|
14874
|
-
max_length=10,
|
|
14875
|
-
min_length=1,
|
|
14876
|
-
title='Inputs',
|
|
14877
|
-
)
|
|
14878
|
-
commit_branch: str = Field(
|
|
14879
|
-
...,
|
|
14880
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
14881
|
-
title='Commit Branch',
|
|
14882
|
-
)
|
|
14883
|
-
project_path: str = Field(
|
|
14884
|
-
...,
|
|
14885
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
14886
|
-
pattern='^[-\\w\\d_/]+$',
|
|
14887
|
-
title='Project Path',
|
|
14888
|
-
)
|
|
14889
|
-
required_envvars: dict[str, str] = Field(
|
|
14890
|
-
...,
|
|
14891
|
-
description='The environment variables required for the tool to run.',
|
|
14892
|
-
title='Required Envvars',
|
|
14893
|
-
)
|
|
14894
|
-
required_secret_envvars: dict[str, str] = Field(
|
|
14895
|
-
...,
|
|
14896
|
-
description='The secret environment variables required for the tool to run.',
|
|
14897
|
-
title='Required Secret Envvars',
|
|
14898
|
-
)
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
14864
|
class ToolTestToolResponse(ToolInvokeToolVersionResponse):
|
|
14902
14865
|
pass
|
|
14903
14866
|
|
|
@@ -15630,6 +15593,43 @@ class RoleGetTemporaryPermissionGrantsResponse(BaseModel):
|
|
|
15630
15593
|
)
|
|
15631
15594
|
|
|
15632
15595
|
|
|
15596
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
15597
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
15598
|
+
...,
|
|
15599
|
+
description='The ID of the state machine that this service uses.',
|
|
15600
|
+
pattern='^[a-f0-9]{24}$',
|
|
15601
|
+
title='Service Hierarchical State Machine Id',
|
|
15602
|
+
)
|
|
15603
|
+
agent_id: str = Field(
|
|
15604
|
+
...,
|
|
15605
|
+
description='The ID of the agent that this service uses.',
|
|
15606
|
+
pattern='^[a-f0-9]{24}$',
|
|
15607
|
+
title='Agent Id',
|
|
15608
|
+
)
|
|
15609
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
15610
|
+
description: str = Field(
|
|
15611
|
+
..., description='A description of this service.', min_length=1
|
|
15612
|
+
)
|
|
15613
|
+
is_active: bool = Field(
|
|
15614
|
+
...,
|
|
15615
|
+
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.',
|
|
15616
|
+
title='Is Active',
|
|
15617
|
+
)
|
|
15618
|
+
release_version_set: ServiceCreateServiceRequestVersionSet | None = Field(
|
|
15619
|
+
None,
|
|
15620
|
+
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.',
|
|
15621
|
+
)
|
|
15622
|
+
keyterms: list[StrippedNonemptyStringAZAZ02] = Field(
|
|
15623
|
+
...,
|
|
15624
|
+
description='A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.',
|
|
15625
|
+
max_length=20,
|
|
15626
|
+
title='Keyterms',
|
|
15627
|
+
)
|
|
15628
|
+
tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
|
|
15629
|
+
..., description='The tags of this service.', title='Tags'
|
|
15630
|
+
)
|
|
15631
|
+
|
|
15632
|
+
|
|
15633
15633
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
15634
15634
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
15635
15635
|
description: 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=CobfN_6KhuLR-MSdF_BIB0pDDqgzmVXfxSVgqtOlaoQ,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=tlZz3E2AJFk6_8_mpxyBWEw_IfAsPM-2CvsjGXcVfy0,448961
|
|
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.111.0.dist-info/METADATA,sha256=Y-2v5WWsZlplYDhGZKxI4L70QXylUQZ7ts1PSx1Y_es,8500
|
|
19
|
+
amigo_sdk-0.111.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
20
|
+
amigo_sdk-0.111.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
21
|
+
amigo_sdk-0.111.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
22
|
+
amigo_sdk-0.111.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|