amigo_sdk 0.75.0__py3-none-any.whl → 0.76.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 CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.75.0"
1
+ __version__ = "0.76.0"
2
2
  from .sdk_client import AmigoClient, AsyncAmigoClient
3
3
 
4
4
  __all__ = ["__version__", "AmigoClient", "AsyncAmigoClient"]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: <stdin>
3
- # timestamp: 2025-12-04T01:13:30+00:00
3
+ # timestamp: 2025-12-05T19:36:26+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'
@@ -1615,11 +1616,6 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
1615
1616
  )
1616
1617
 
1617
1618
 
1618
- class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
1619
- key: str = Field(..., title='Key')
1620
- value: Optional[str] = Field(..., title='Value')
1621
-
1622
-
1623
1619
  AmigoLibMongoCollectionsMetricMetricUserInfo = (
1624
1620
  AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1625
1621
  )
@@ -1635,6 +1631,11 @@ class AmigoLibMongoCollectionsRoleRolePermissionGrantAction(Enum):
1635
1631
  deny = 'Deny'
1636
1632
 
1637
1633
 
1634
+ class AmigoLibMongoCollectionsServiceServiceTag(BaseModel):
1635
+ key: str = Field(..., title='Key')
1636
+ value: Optional[str] = Field(..., title='Value')
1637
+
1638
+
1638
1639
  class AmigoLibMongoCollectionsServiceServiceVersionSet(BaseModel):
1639
1640
  agent_version_number: Optional[int] = Field(
1640
1641
  ...,
@@ -10752,13 +10753,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
10752
10753
  )
10753
10754
 
10754
10755
 
10755
- class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
10756
- description: str = Field(..., min_length=1)
10757
- tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
10758
- ..., title='Tags'
10759
- )
10760
-
10761
-
10762
10756
  class OrganizationCreateOrganizationResponse(BaseModel):
10763
10757
  org_id: str = Field(
10764
10758
  ...,
@@ -10900,22 +10894,18 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
10900
10894
  )
10901
10895
 
10902
10896
 
10903
- class OrganizationModifyOrganizationRequestUserDimensions(
10904
- RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
10905
- ):
10906
- root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
10907
- ...,
10908
- description='User dimensions for the organization. If not set or `null`, this field is not updated.',
10909
- min_length=1,
10910
- title='User Dimensions',
10911
- )
10912
-
10913
-
10914
10897
  OrganizationModifyOrganizationRequestPreferences = (
10915
10898
  OrganizationCreateOrganizationRequestPreferences
10916
10899
  )
10917
10900
 
10918
10901
 
10902
+ class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
10903
+ description: str = Field(..., min_length=1)
10904
+ tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
10905
+ ..., title='Tags'
10906
+ )
10907
+
10908
+
10919
10909
  class RoleAssignRoleRequest(BaseModel):
10920
10910
  user_id: str = Field(
10921
10911
  ...,
@@ -11028,6 +11018,22 @@ class ServiceUpdateServiceRequest(BaseModel):
11028
11018
  )
11029
11019
 
11030
11020
 
11021
+ class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
11022
+ agent_version_number: Optional[int] = Field(
11023
+ ...,
11024
+ description='The version number of the agent to be used. If None, the latest agent version will be used.',
11025
+ title='Agent Version Number',
11026
+ )
11027
+ service_hierarchical_state_machine_version_number: Optional[int] = Field(
11028
+ ...,
11029
+ description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
11030
+ title='Service Hierarchical State Machine Version Number',
11031
+ )
11032
+ llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
11033
+ Field(..., title='Llm Model Preferences')
11034
+ )
11035
+
11036
+
11031
11037
  class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
11032
11038
  background: str = Field(
11033
11039
  ..., description='The background of the simulation persona.', min_length=1
@@ -11215,6 +11221,40 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
11215
11221
  )
11216
11222
 
11217
11223
 
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
+
11218
11258
  class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
11219
11259
  simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
11220
11260
  ...,
@@ -11246,6 +11286,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11246
11286
  )
11247
11287
 
11248
11288
 
11289
+ class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11290
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11291
+ name: str = Field(
11292
+ ..., description='The name of the simulation scenario.', title='Name'
11293
+ )
11294
+ tags: Dict[str, Optional[str]] = Field(
11295
+ ..., description='The tags of the simulation scenario.', title='Tags'
11296
+ )
11297
+ is_deleted: bool = Field(
11298
+ ...,
11299
+ description='Whether the simulation scenario is deleted.',
11300
+ title='Is Deleted',
11301
+ )
11302
+ created_at: AwareDatetime = Field(
11303
+ ...,
11304
+ description='The timestamp when the simulation scenario was created.',
11305
+ title='Created At',
11306
+ )
11307
+ creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11308
+ Field(..., description='The user who created the simulation scenario.')
11309
+ )
11310
+ updated_at: AwareDatetime = Field(
11311
+ ...,
11312
+ description='The timestamp when the simulation scenario was last updated.',
11313
+ title='Updated At',
11314
+ )
11315
+ updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11316
+ Field(..., description='The user who last updated the simulation scenario.')
11317
+ )
11318
+
11319
+
11249
11320
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11250
11321
  presigned_url: str = Field(
11251
11322
  ...,
@@ -11334,68 +11405,21 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
11334
11405
  )
11335
11406
 
11336
11407
 
11337
- class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11338
- id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11339
- name: str = Field(
11340
- ..., description='The name of the simulation persona.', title='Name'
11341
- )
11342
- role: str = Field(
11343
- ..., description='The role of the simulation persona.', title='Role'
11344
- )
11345
- tags: Dict[str, Optional[str]] = Field(
11346
- ..., description='The tags of the simulation persona.', title='Tags'
11347
- )
11348
- is_deleted: bool = Field(
11349
- ...,
11350
- description='Whether the simulation persona is deleted.',
11351
- title='Is Deleted',
11352
- )
11353
- created_at: AwareDatetime = Field(
11354
- ...,
11355
- description='The timestamp when the simulation persona was created.',
11356
- title='Created At',
11357
- )
11358
- creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11359
- ..., description='The user who created the simulation persona.'
11360
- )
11361
- updated_at: AwareDatetime = Field(
11362
- ...,
11363
- description='The timestamp when the simulation persona was last updated.',
11364
- title='Updated At',
11365
- )
11366
- updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
11367
- Field(..., description='The user who last updated the simulation persona.')
11408
+ class SimulationSearchSimulationPersonasResponse(BaseModel):
11409
+ simulation_personas: List[
11410
+ SimulationGetSimulationPersonasResponseSimulationPersonaInstance
11411
+ ] = Field(
11412
+ ..., description='The list of simulation personas.', title='Simulation Personas'
11368
11413
  )
11369
11414
 
11370
11415
 
11371
- class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11372
- id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11373
- name: str = Field(
11374
- ..., description='The name of the simulation scenario.', title='Name'
11375
- )
11376
- tags: Dict[str, Optional[str]] = Field(
11377
- ..., description='The tags of the simulation scenario.', title='Tags'
11378
- )
11379
- is_deleted: bool = Field(
11380
- ...,
11381
- description='Whether the simulation scenario is deleted.',
11382
- title='Is Deleted',
11383
- )
11384
- created_at: AwareDatetime = Field(
11385
- ...,
11386
- description='The timestamp when the simulation scenario was created.',
11387
- title='Created At',
11388
- )
11389
- creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11390
- Field(..., description='The user who created the simulation scenario.')
11391
- )
11392
- updated_at: AwareDatetime = Field(
11416
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
11417
+ simulation_scenarios: List[
11418
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11419
+ ] = Field(
11393
11420
  ...,
11394
- description='The timestamp when the simulation scenario was last updated.',
11395
- title='Updated At',
11396
- )
11397
- updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11398
- Field(..., description='The user who last updated the simulation scenario.')
11421
+ description='The list of simulation scenarios.',
11422
+ title='Simulation Scenarios',
11399
11423
  )
11400
11424
 
11401
11425
 
@@ -11525,22 +11549,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
11525
11549
  )
11526
11550
 
11527
11551
 
11528
- class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
11529
- regular = 'regular'
11530
- conversation_simulation = 'conversation-simulation'
11531
-
11532
-
11533
- class ToolInvokeToolVersionRequestInput(BaseModel):
11534
- input_parameters: Dict[str, Any] = Field(
11535
- ...,
11536
- description='The input parameters for the tool invocation.',
11537
- title='Input Parameters',
11538
- )
11539
- invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
11540
- ..., description='The mode of invocation.', title='Invocation Mode'
11541
- )
11542
-
11543
-
11544
11552
  class ToolModifyToolRequest(BaseModel):
11545
11553
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11546
11554
  None, description='A description of this tool. Only updates if not-null.'
@@ -11583,34 +11591,19 @@ class ToolPublishToolVersionResponse(BaseModel):
11583
11591
  )
11584
11592
 
11585
11593
 
11586
- class ToolTestToolRequest(BaseModel):
11587
- inputs: List[ToolInvokeToolVersionRequestInput] = Field(
11588
- ...,
11589
- description='The list of inputs for the tool invocation.',
11590
- max_length=10,
11591
- min_length=1,
11592
- title='Inputs',
11593
- )
11594
- commit_branch: str = Field(
11595
- ...,
11596
- description='The branch in the tools repo whose tip will be tested.',
11597
- title='Commit Branch',
11598
- )
11599
- project_path: str = Field(
11600
- ...,
11601
- description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11602
- pattern='^[-\\w\\d_/]+$',
11603
- title='Project Path',
11604
- )
11605
- required_envvars: Dict[str, str] = Field(
11594
+ class ToolTestToolRequestInputInvocationMode(Enum):
11595
+ regular = 'regular'
11596
+ conversation_simulation = 'conversation-simulation'
11597
+
11598
+
11599
+ class ToolTestToolRequestInput(BaseModel):
11600
+ input_parameters: Dict[str, Any] = Field(
11606
11601
  ...,
11607
- description='The environment variables required for the tool to run.',
11608
- title='Required Envvars',
11602
+ description='The input parameters for the tool invocation.',
11603
+ title='Input Parameters',
11609
11604
  )
11610
- required_secret_envvars: Dict[str, str] = Field(
11611
- ...,
11612
- description='The secret environment variables required for the tool to run.',
11613
- title='Required Secret Envvars',
11605
+ invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
11606
+ ..., description='The mode of invocation.', title='Invocation Mode'
11614
11607
  )
11615
11608
 
11616
11609
 
@@ -12146,7 +12139,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12146
12139
  [], description='The IDs of the messages to retrieve.', title='Id'
12147
12140
  )
12148
12141
  message_type: Optional[List[MessageType]] = Field(
12149
- ['user-message', 'external-event', 'agent-message'],
12142
+ ['external-event', 'user-message', 'agent-message'],
12150
12143
  description='The type of messages to retrieve.',
12151
12144
  title='Message Type',
12152
12145
  )
@@ -13952,7 +13945,7 @@ class ServiceInstance(BaseModel):
13952
13945
  agent_id: str = Field(
13953
13946
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13954
13947
  )
13955
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13948
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
13956
13949
  ..., description='The tags of the service.', title='Tags'
13957
13950
  )
13958
13951
 
@@ -14005,7 +13998,7 @@ class SimulationUnitTestSet(BaseModel):
14005
13998
  description='Whether the unit test set has been deleted.',
14006
13999
  title='Is Deleted',
14007
14000
  )
14008
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
14001
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
14009
14002
  ..., description='The tags of the simulation unit test set.', title='Tags'
14010
14003
  )
14011
14004
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14044,7 +14037,7 @@ class SimulationUnitTestSetInstance(BaseModel):
14044
14037
  description='Whether the unit test set has been deleted.',
14045
14038
  title='Is Deleted',
14046
14039
  )
14047
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
14040
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
14048
14041
  ..., description='The tags of the simulation unit test set.', title='Tags'
14049
14042
  )
14050
14043
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14160,7 +14153,7 @@ class ToolInstance(BaseModel):
14160
14153
  description='A list of encrypted environment variables that some versions of this tool uses.',
14161
14154
  title='Secret Envvars',
14162
14155
  )
14163
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
14156
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
14164
14157
  ..., description='The tags of the simulation persona.', title='Tags'
14165
14158
  )
14166
14159
 
@@ -14571,7 +14564,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
14571
14564
  description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
14572
14565
  min_length=1,
14573
14566
  )
14574
- user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
14567
+ user_dimensions: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
14575
14568
  ...,
14576
14569
  description='User dimensions for the organization.',
14577
14570
  title='User Dimensions',
@@ -14715,6 +14708,17 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
14715
14708
  )
14716
14709
 
14717
14710
 
14711
+ class OrganizationModifyOrganizationRequestUserDimensions(
14712
+ RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
14713
+ ):
14714
+ root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
14715
+ ...,
14716
+ description='User dimensions for the organization. If not set or `null`, this field is not updated.',
14717
+ min_length=1,
14718
+ title='User Dimensions',
14719
+ )
14720
+
14721
+
14718
14722
  class OrganizationModifyOrganizationRequest(BaseModel):
14719
14723
  title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14720
14724
  None,
@@ -14812,19 +14816,36 @@ class RoleModifyRoleRequest(BaseModel):
14812
14816
  )
14813
14817
 
14814
14818
 
14815
- class ServiceCreateServiceRequestVersionSet(BaseModel):
14816
- agent_version_number: Optional[int] = Field(
14819
+ class ServiceCreateServiceRequest(BaseModel):
14820
+ service_hierarchical_state_machine_id: str = Field(
14817
14821
  ...,
14818
- description='The version number of the agent to be used. If None, the latest agent version will be used.',
14819
- title='Agent Version Number',
14822
+ description='The ID of the state machine that this service uses.',
14823
+ pattern='^[a-f0-9]{24}$',
14824
+ title='Service Hierarchical State Machine Id',
14820
14825
  )
14821
- service_hierarchical_state_machine_version_number: Optional[int] = Field(
14826
+ agent_id: str = Field(
14822
14827
  ...,
14823
- description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14824
- title='Service Hierarchical State Machine Version Number',
14828
+ description='The ID of the agent that this service uses.',
14829
+ pattern='^[a-f0-9]{24}$',
14830
+ title='Agent Id',
14825
14831
  )
14826
- llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
14827
- Field(..., title='Llm Model Preferences')
14832
+ name: str = Field(..., description='The name of this service.', min_length=1)
14833
+ description: str = Field(
14834
+ ..., description='A description of this service.', min_length=1
14835
+ )
14836
+ is_active: bool = Field(
14837
+ ...,
14838
+ 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.',
14839
+ title='Is Active',
14840
+ )
14841
+ release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
14842
+ Field(
14843
+ None,
14844
+ 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.',
14845
+ )
14846
+ )
14847
+ tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
14848
+ ..., description='The tags of this service.', title='Tags'
14828
14849
  )
14829
14850
 
14830
14851
 
@@ -14849,7 +14870,7 @@ class ServiceGetServicesResponse(BaseModel):
14849
14870
 
14850
14871
 
14851
14872
  class ServiceUpsertServiceVersionSetRequest(BaseModel):
14852
- version_set: ServiceCreateServiceRequestVersionSet = Field(
14873
+ version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
14853
14874
  ..., description='The version set to upsert.'
14854
14875
  )
14855
14876
 
@@ -14917,7 +14938,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14917
14938
 
14918
14939
  class SimulationGetSimulationPersonasResponse(BaseModel):
14919
14940
  simulation_personas: List[
14920
- SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14941
+ SimulationGetSimulationPersonasResponseSimulationPersonaInstance
14921
14942
  ] = Field(
14922
14943
  ..., description='The list of simulation personas.', title='Simulation Personas'
14923
14944
  )
@@ -14941,7 +14962,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14941
14962
 
14942
14963
  class SimulationGetSimulationScenariosResponse(BaseModel):
14943
14964
  simulation_scenarios: List[
14944
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14965
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14945
14966
  ] = Field(
14946
14967
  ...,
14947
14968
  description='The list of simulation scenarios.',
@@ -14989,24 +15010,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
14989
15010
  )
14990
15011
 
14991
15012
 
14992
- class SimulationSearchSimulationPersonasResponse(BaseModel):
14993
- simulation_personas: List[
14994
- SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14995
- ] = Field(
14996
- ..., description='The list of simulation personas.', title='Simulation Personas'
14997
- )
14998
-
14999
-
15000
- class SimulationSearchSimulationScenariosResponse(BaseModel):
15001
- simulation_scenarios: List[
15002
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
15003
- ] = Field(
15004
- ...,
15005
- description='The list of simulation scenarios.',
15006
- title='Simulation Scenarios',
15007
- )
15008
-
15009
-
15010
15013
  class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
15011
15014
  simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
15012
15015
  ...,
@@ -15061,7 +15064,7 @@ class ToolGetToolsResponse(BaseModel):
15061
15064
 
15062
15065
 
15063
15066
  class ToolInvokeToolVersionRequest(BaseModel):
15064
- inputs: List[ToolInvokeToolVersionRequestInput] = Field(
15067
+ inputs: List[ToolTestToolRequestInput] = Field(
15065
15068
  ...,
15066
15069
  description='The list of inputs for the tool invocation.',
15067
15070
  max_length=10,
@@ -15082,6 +15085,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
15082
15085
  deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
15083
15086
 
15084
15087
 
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
+
15085
15119
  ToolTestToolResponse = ToolInvokeToolVersionResponse
15086
15120
 
15087
15121
 
@@ -15387,7 +15421,7 @@ class Metric(BaseModel):
15387
15421
  additional_notes: Optional[str] = Field(
15388
15422
  ..., description='Additional notes about the metric.', title='Additional Notes'
15389
15423
  )
15390
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15424
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15391
15425
  ..., description='The tags of the metric.', title='Tags'
15392
15426
  )
15393
15427
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
@@ -15457,7 +15491,7 @@ class MetricInstance(BaseModel):
15457
15491
  additional_notes: Optional[str] = Field(
15458
15492
  ..., description='Additional notes about the metric.', title='Additional Notes'
15459
15493
  )
15460
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15494
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15461
15495
  ..., description='The tags of the metric.', title='Tags'
15462
15496
  )
15463
15497
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
@@ -15659,7 +15693,7 @@ class SimulationUnitTest(BaseModel):
15659
15693
  is_deleted: bool = Field(
15660
15694
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15661
15695
  )
15662
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15696
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15663
15697
  ..., description='The tags of the simulation persona.', title='Tags'
15664
15698
  )
15665
15699
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15704,7 +15738,7 @@ class SimulationUnitTestInstance(BaseModel):
15704
15738
  is_deleted: bool = Field(
15705
15739
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15706
15740
  )
15707
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15741
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15708
15742
  ..., description='The tags of the simulation persona.', title='Tags'
15709
15743
  )
15710
15744
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -16030,37 +16064,6 @@ class RoleGetRolesResponse(BaseModel):
16030
16064
  )
16031
16065
 
16032
16066
 
16033
- class ServiceCreateServiceRequest(BaseModel):
16034
- service_hierarchical_state_machine_id: str = Field(
16035
- ...,
16036
- description='The ID of the state machine that this service uses.',
16037
- pattern='^[a-f0-9]{24}$',
16038
- title='Service Hierarchical State Machine Id',
16039
- )
16040
- agent_id: str = Field(
16041
- ...,
16042
- description='The ID of the agent that this service uses.',
16043
- pattern='^[a-f0-9]{24}$',
16044
- title='Agent Id',
16045
- )
16046
- name: str = Field(..., description='The name of this service.', min_length=1)
16047
- description: str = Field(
16048
- ..., description='A description of this service.', min_length=1
16049
- )
16050
- is_active: bool = Field(
16051
- ...,
16052
- 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.',
16053
- title='Is Active',
16054
- )
16055
- release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
16056
- None,
16057
- 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.',
16058
- )
16059
- tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
16060
- ..., description='The tags of this service.', title='Tags'
16061
- )
16062
-
16063
-
16064
16067
  class SimulationCreateSimulationUnitTestRequest(BaseModel):
16065
16068
  name: str = Field(..., description='The name of the unit test.', min_length=1)
16066
16069
  description: str = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.75.0
3
+ Version: 0.76.0
4
4
  Summary: Amigo AI Python SDK
5
5
  Author: Amigo AI
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- amigo_sdk/__init__.py,sha256=tzY6nagu7lgJ1MKARQEIKkdcAKo2EjbmL6C88h2QsjU,139
1
+ amigo_sdk/__init__.py,sha256=VOPKypSmANz1PChpShpVLdpqiJjx_snLevs2luFpj8s,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=stIlA3cf-9diXa8V1obNAun6xX5d6u_BAyRl8S13fZ8,456896
9
+ amigo_sdk/generated/model.py,sha256=In4u6EJgoGQHnMVAZAG_l7cBK-McqMmq38Dfu_8e7i0,456967
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.75.0.dist-info/METADATA,sha256=8puY-2UtB259Cym1UM1XjY0KcEHAVF5mzpzeeFRunRk,8499
15
- amigo_sdk-0.75.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
- amigo_sdk-0.75.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.75.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.75.0.dist-info/RECORD,,
14
+ amigo_sdk-0.76.0.dist-info/METADATA,sha256=i0SN5oPVhShcU_slaqsbJ-WdwcSRHCYdrpZY8RtLw4g,8499
15
+ amigo_sdk-0.76.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ amigo_sdk-0.76.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.76.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.76.0.dist-info/RECORD,,