amigo_sdk 0.55.0__py3-none-any.whl → 0.57.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.55.0"
1
+ __version__ = "0.57.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-11-11T05:32:23+00:00
3
+ # timestamp: 2025-11-11T20:01:59+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1601,11 +1601,6 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
1601
1601
  )
1602
1602
 
1603
1603
 
1604
- class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
1605
- key: str = Field(..., title='Key')
1606
- value: Optional[str] = Field(..., title='Value')
1607
-
1608
-
1609
1604
  AmigoLibMongoCollectionsMetricMetricUserInfo = (
1610
1605
  AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1611
1606
  )
@@ -1693,19 +1688,24 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
1693
1688
  )
1694
1689
 
1695
1690
 
1696
- class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1697
- user_id: str = Field(..., description='The ID of the user.', title='User Id')
1698
- user_org_id: str = Field(
1699
- ..., description="The ID of the user's organization.", title='User Org Id'
1700
- )
1691
+ class AmigoLibMongoCollectionsToolToolTag(BaseModel):
1692
+ key: str = Field(..., title='Key')
1693
+ value: Optional[str] = Field(..., title='Value')
1701
1694
 
1702
1695
 
1703
- class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
1696
+ class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1704
1697
  major: int = Field(..., title='Major')
1705
1698
  minor: int = Field(..., title='Minor')
1706
1699
  patch: int = Field(..., title='Patch')
1707
1700
 
1708
1701
 
1702
+ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1703
+ user_id: str = Field(..., description='The ID of the user.', title='User Id')
1704
+ user_org_id: str = Field(
1705
+ ..., description="The ID of the user's organization.", title='User Org Id'
1706
+ )
1707
+
1708
+
1709
1709
  class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
1710
1710
  enable_response_recommendation: Optional[bool] = Field(
1711
1711
  False,
@@ -1937,20 +1937,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1937
1937
  )
1938
1938
 
1939
1939
 
1940
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1941
- BaseModel
1942
- ):
1943
- id: str = Field(..., title='Id')
1944
- name: str = Field(..., title='Name')
1945
- is_active: bool = Field(..., title='Is Active')
1946
- applied_to_services: List[str] = Field(..., title='Applied To Services')
1947
- tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1948
- created_at: AwareDatetime = Field(..., title='Created At')
1949
- creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1950
- updated_at: AwareDatetime = Field(..., title='Updated At')
1951
- updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1952
-
1953
-
1954
1940
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1955
1941
  applied_to_services_ids: List[str] = Field(
1956
1942
  ...,
@@ -1971,14 +1957,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1971
1957
  )
1972
1958
 
1973
1959
 
1974
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1975
- dynamic_behavior_sets: List[
1976
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1977
- ] = Field(
1978
- ...,
1979
- description='The retrieved dynamic behavior sets.',
1980
- title='Dynamic Behavior Sets',
1981
- )
1960
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1961
+ BaseModel
1962
+ ):
1963
+ id: str = Field(..., title='Id')
1964
+ name: str = Field(..., title='Name')
1965
+ is_active: bool = Field(..., title='Is Active')
1966
+ applied_to_services: List[str] = Field(..., title='Applied To Services')
1967
+ tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1968
+ created_at: AwareDatetime = Field(..., title='Created At')
1969
+ creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1970
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1971
+ updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1982
1972
 
1983
1973
 
1984
1974
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
@@ -10946,11 +10936,6 @@ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10946
10936
  )
10947
10937
 
10948
10938
 
10949
- class ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig(BaseModel):
10950
- llm_load_balancing_set_name: LLMLoadBalancingSetType
10951
- configs: Dict[str, PerLLMConfig] = Field(..., title='Configs')
10952
-
10953
-
10954
10939
  class ServiceCreateServiceResponse(BaseModel):
10955
10940
  id: str = Field(..., description='The ID of the newly created service.', title='Id')
10956
10941
 
@@ -11010,24 +10995,11 @@ class ServiceUpdateServiceRequest(BaseModel):
11010
10995
  )
11011
10996
 
11012
10997
 
11013
- class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
11014
- agent_version_number: Optional[int] = Field(
11015
- ...,
11016
- description='The version number of the agent to be used. If None, the latest agent version will be used.',
11017
- title='Agent Version Number',
11018
- )
11019
- service_hierarchical_state_machine_version_number: Optional[int] = Field(
11020
- ...,
11021
- description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
11022
- title='Service Hierarchical State Machine Version Number',
11023
- )
11024
- llm_model_preferences: Dict[
11025
- str,
11026
- Union[
11027
- ServiceCreateServiceRequestVersionSetLLMConfig,
11028
- ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig,
11029
- ],
11030
- ] = Field(..., title='Llm Model Preferences')
10998
+ class ServiceUpsertServiceVersionSetRequestVersionSetLLMLoadBalancingSetConfig(
10999
+ BaseModel
11000
+ ):
11001
+ llm_load_balancing_set_name: LLMLoadBalancingSetType
11002
+ configs: Dict[str, PerLLMConfig] = Field(..., title='Configs')
11031
11003
 
11032
11004
 
11033
11005
  class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
@@ -11217,40 +11189,6 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
11217
11189
  )
11218
11190
 
11219
11191
 
11220
- class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11221
- id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11222
- name: str = Field(
11223
- ..., description='The name of the simulation persona.', title='Name'
11224
- )
11225
- role: str = Field(
11226
- ..., description='The role of the simulation persona.', title='Role'
11227
- )
11228
- tags: Dict[str, Optional[str]] = Field(
11229
- ..., description='The tags of the simulation persona.', title='Tags'
11230
- )
11231
- is_deleted: bool = Field(
11232
- ...,
11233
- description='Whether the simulation persona is deleted.',
11234
- title='Is Deleted',
11235
- )
11236
- created_at: AwareDatetime = Field(
11237
- ...,
11238
- description='The timestamp when the simulation persona was created.',
11239
- title='Created At',
11240
- )
11241
- creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11242
- ..., description='The user who created the simulation persona.'
11243
- )
11244
- updated_at: AwareDatetime = Field(
11245
- ...,
11246
- description='The timestamp when the simulation persona was last updated.',
11247
- title='Updated At',
11248
- )
11249
- updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
11250
- Field(..., description='The user who last updated the simulation persona.')
11251
- )
11252
-
11253
-
11254
11192
  class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
11255
11193
  simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
11256
11194
  ...,
@@ -11370,11 +11308,37 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
11370
11308
  )
11371
11309
 
11372
11310
 
11373
- class SimulationSearchSimulationPersonasResponse(BaseModel):
11374
- simulation_personas: List[
11375
- SimulationGetSimulationPersonasResponseSimulationPersonaInstance
11376
- ] = Field(
11377
- ..., description='The list of simulation personas.', title='Simulation Personas'
11311
+ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11312
+ id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11313
+ name: str = Field(
11314
+ ..., description='The name of the simulation persona.', title='Name'
11315
+ )
11316
+ role: str = Field(
11317
+ ..., description='The role of the simulation persona.', title='Role'
11318
+ )
11319
+ tags: Dict[str, Optional[str]] = Field(
11320
+ ..., description='The tags of the simulation persona.', title='Tags'
11321
+ )
11322
+ is_deleted: bool = Field(
11323
+ ...,
11324
+ description='Whether the simulation persona is deleted.',
11325
+ title='Is Deleted',
11326
+ )
11327
+ created_at: AwareDatetime = Field(
11328
+ ...,
11329
+ description='The timestamp when the simulation persona was created.',
11330
+ title='Created At',
11331
+ )
11332
+ creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11333
+ ..., description='The user who created the simulation persona.'
11334
+ )
11335
+ updated_at: AwareDatetime = Field(
11336
+ ...,
11337
+ description='The timestamp when the simulation persona was last updated.',
11338
+ title='Updated At',
11339
+ )
11340
+ updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
11341
+ Field(..., description='The user who last updated the simulation persona.')
11378
11342
  )
11379
11343
 
11380
11344
 
@@ -11692,7 +11656,7 @@ class UserGetMemoriesResponse(BaseModel):
11692
11656
  )
11693
11657
 
11694
11658
 
11695
- class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11659
+ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11696
11660
  num_conversations: int = Field(
11697
11661
  ...,
11698
11662
  description='The number of conversations the user has created.',
@@ -12157,7 +12121,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12157
12121
  [], description='The IDs of the messages to retrieve.', title='Id'
12158
12122
  )
12159
12123
  message_type: Optional[List[MessageType]] = Field(
12160
- ['external-event', 'user-message', 'agent-message'],
12124
+ ['user-message', 'external-event', 'agent-message'],
12161
12125
  description='The type of messages to retrieve.',
12162
12126
  title='Message Type',
12163
12127
  )
@@ -13888,7 +13852,7 @@ class ServiceInstance(BaseModel):
13888
13852
  agent_id: str = Field(
13889
13853
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13890
13854
  )
13891
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13855
+ tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
13892
13856
  ..., description='The tags of the service.', title='Tags'
13893
13857
  )
13894
13858
 
@@ -13941,7 +13905,7 @@ class SimulationUnitTestSet(BaseModel):
13941
13905
  description='Whether the unit test set has been deleted.',
13942
13906
  title='Is Deleted',
13943
13907
  )
13944
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13908
+ tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
13945
13909
  ..., description='The tags of the simulation unit test set.', title='Tags'
13946
13910
  )
13947
13911
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13980,7 +13944,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13980
13944
  description='Whether the unit test set has been deleted.',
13981
13945
  title='Is Deleted',
13982
13946
  )
13983
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
13947
+ tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
13984
13948
  ..., description='The tags of the simulation unit test set.', title='Tags'
13985
13949
  )
13986
13950
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14092,7 +14056,7 @@ class ToolInstance(BaseModel):
14092
14056
  description='A list of encrypted environment variables that some versions of this tool uses.',
14093
14057
  title='Secret Envvars',
14094
14058
  )
14095
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
14059
+ tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
14096
14060
  ..., description='The tags of the simulation persona.', title='Tags'
14097
14061
  )
14098
14062
 
@@ -14107,7 +14071,7 @@ class ToolVersionInstance(BaseModel):
14107
14071
  description='The ID of the tool that this version belongs to.',
14108
14072
  title='Tool Id',
14109
14073
  )
14110
- version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
14074
+ version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
14111
14075
  ..., description='The version of the tool.'
14112
14076
  )
14113
14077
  required_envvars: List[str] = Field(
@@ -14426,7 +14390,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
14426
14390
 
14427
14391
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14428
14392
  dynamic_behavior_sets: List[
14429
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14393
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14430
14394
  ] = Field(
14431
14395
  ...,
14432
14396
  description='The retrieved dynamic behavior sets.',
@@ -14450,6 +14414,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14450
14414
  )
14451
14415
 
14452
14416
 
14417
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14418
+ dynamic_behavior_sets: List[
14419
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14420
+ ] = Field(
14421
+ ...,
14422
+ description='The retrieved dynamic behavior sets.',
14423
+ title='Dynamic Behavior Sets',
14424
+ )
14425
+
14426
+
14453
14427
  class MetricCreateMetricRequest(BaseModel):
14454
14428
  name: str = Field(
14455
14429
  ...,
@@ -14718,7 +14692,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14718
14692
  )
14719
14693
 
14720
14694
 
14721
- class RoleModifyRoleRequestPermissionGrant(BaseModel):
14695
+ class RoleCreateRoleRequestPermissionGrant(BaseModel):
14722
14696
  action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
14723
14697
  ...,
14724
14698
  description='Whether this grant allows or denies the specified access.',
@@ -14735,37 +14709,47 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
14735
14709
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
14736
14710
 
14737
14711
 
14738
- class ServiceCreateServiceRequest(BaseModel):
14739
- service_hierarchical_state_machine_id: str = Field(
14740
- ...,
14741
- description='The ID of the state machine that this service uses.',
14742
- pattern='^[a-f0-9]{24}$',
14743
- title='Service Hierarchical State Machine Id',
14744
- )
14745
- agent_id: str = Field(
14746
- ...,
14747
- description='The ID of the agent that this service uses.',
14748
- pattern='^[a-f0-9]{24}$',
14749
- title='Agent Id',
14712
+ class RoleModifyRoleRequest(BaseModel):
14713
+ description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14714
+ None,
14715
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
14750
14716
  )
14751
- name: str = Field(..., description='The name of this service.', min_length=1)
14752
- description: str = Field(
14753
- ..., description='A description of this service.', min_length=1
14717
+ permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
14718
+ None,
14719
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14720
+ title='Permission Grants',
14754
14721
  )
14755
- is_active: bool = Field(
14756
- ...,
14757
- 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.',
14758
- title='Is Active',
14722
+ frontend_view: Optional[FrontendView] = Field(
14723
+ None,
14724
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14759
14725
  )
14760
- release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
14726
+ inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
14761
14727
  Field(
14762
- None,
14763
- 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.',
14728
+ {},
14729
+ description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
14730
+ title='Inherited From',
14764
14731
  )
14765
14732
  )
14766
- tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
14767
- ..., description='The tags of this service.', title='Tags'
14733
+
14734
+
14735
+ class ServiceCreateServiceRequestVersionSet(BaseModel):
14736
+ agent_version_number: Optional[int] = Field(
14737
+ ...,
14738
+ description='The version number of the agent to be used. If None, the latest agent version will be used.',
14739
+ title='Agent Version Number',
14740
+ )
14741
+ service_hierarchical_state_machine_version_number: Optional[int] = Field(
14742
+ ...,
14743
+ description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14744
+ title='Service Hierarchical State Machine Version Number',
14768
14745
  )
14746
+ llm_model_preferences: Dict[
14747
+ str,
14748
+ Union[
14749
+ ServiceCreateServiceRequestVersionSetLLMConfig,
14750
+ ServiceUpsertServiceVersionSetRequestVersionSetLLMLoadBalancingSetConfig,
14751
+ ],
14752
+ ] = Field(..., title='Llm Model Preferences')
14769
14753
 
14770
14754
 
14771
14755
  class ServiceGetServicesResponse(BaseModel):
@@ -14789,7 +14773,7 @@ class ServiceGetServicesResponse(BaseModel):
14789
14773
 
14790
14774
 
14791
14775
  class ServiceUpsertServiceVersionSetRequest(BaseModel):
14792
- version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
14776
+ version_set: ServiceCreateServiceRequestVersionSet = Field(
14793
14777
  ..., description='The version set to upsert.'
14794
14778
  )
14795
14779
 
@@ -14857,7 +14841,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14857
14841
 
14858
14842
  class SimulationGetSimulationPersonasResponse(BaseModel):
14859
14843
  simulation_personas: List[
14860
- SimulationGetSimulationPersonasResponseSimulationPersonaInstance
14844
+ SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14861
14845
  ] = Field(
14862
14846
  ..., description='The list of simulation personas.', title='Simulation Personas'
14863
14847
  )
@@ -14929,6 +14913,14 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
14929
14913
  )
14930
14914
 
14931
14915
 
14916
+ class SimulationSearchSimulationPersonasResponse(BaseModel):
14917
+ simulation_personas: List[
14918
+ SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14919
+ ] = Field(
14920
+ ..., description='The list of simulation personas.', title='Simulation Personas'
14921
+ )
14922
+
14923
+
14932
14924
  class SimulationSearchSimulationScenariosResponse(BaseModel):
14933
14925
  simulation_scenarios: List[
14934
14926
  SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
@@ -15070,7 +15062,7 @@ class UserGetUsersResponseUserInstance(BaseModel):
15070
15062
  ..., description='The last name of the user.', title='Last Name'
15071
15063
  )
15072
15064
  email: str = Field(..., description='Email of the user.', title='Email')
15073
- user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
15065
+ user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
15074
15066
  ..., description="Statistics about the user's usage of the Amigo platform."
15075
15067
  )
15076
15068
  role: str = Field(..., description='The ID of the role of the user.', title='Role')
@@ -15268,7 +15260,7 @@ class Metric(BaseModel):
15268
15260
  additional_notes: Optional[str] = Field(
15269
15261
  ..., description='Additional notes about the metric.', title='Additional Notes'
15270
15262
  )
15271
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15263
+ tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
15272
15264
  ..., description='The tags of the metric.', title='Tags'
15273
15265
  )
15274
15266
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
@@ -15338,7 +15330,7 @@ class MetricInstance(BaseModel):
15338
15330
  additional_notes: Optional[str] = Field(
15339
15331
  ..., description='Additional notes about the metric.', title='Additional Notes'
15340
15332
  )
15341
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15333
+ tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
15342
15334
  ..., description='The tags of the metric.', title='Tags'
15343
15335
  )
15344
15336
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
@@ -15540,7 +15532,7 @@ class SimulationUnitTest(BaseModel):
15540
15532
  is_deleted: bool = Field(
15541
15533
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15542
15534
  )
15543
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15535
+ tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
15544
15536
  ..., description='The tags of the simulation persona.', title='Tags'
15545
15537
  )
15546
15538
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15585,7 +15577,7 @@ class SimulationUnitTestInstance(BaseModel):
15585
15577
  is_deleted: bool = Field(
15586
15578
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15587
15579
  )
15588
- tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
15580
+ tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
15589
15581
  ..., description='The tags of the simulation persona.', title='Tags'
15590
15582
  )
15591
15583
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15888,7 +15880,7 @@ class RoleCreateRoleRequest(BaseModel):
15888
15880
  description: str = Field(
15889
15881
  ..., description='A description about the role.', min_length=1
15890
15882
  )
15891
- permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
15883
+ permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
15892
15884
  ...,
15893
15885
  description='A list of permission grants associated with this role.',
15894
15886
  title='Permission Grants',
@@ -15914,26 +15906,34 @@ class RoleGetRolesResponse(BaseModel):
15914
15906
  )
15915
15907
 
15916
15908
 
15917
- class RoleModifyRoleRequest(BaseModel):
15918
- description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
15919
- None,
15920
- description='A description about the role. Only updated if specified. This field is a mutable field.',
15909
+ class ServiceCreateServiceRequest(BaseModel):
15910
+ service_hierarchical_state_machine_id: str = Field(
15911
+ ...,
15912
+ description='The ID of the state machine that this service uses.',
15913
+ pattern='^[a-f0-9]{24}$',
15914
+ title='Service Hierarchical State Machine Id',
15921
15915
  )
15922
- permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
15923
- None,
15924
- description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
15925
- title='Permission Grants',
15916
+ agent_id: str = Field(
15917
+ ...,
15918
+ description='The ID of the agent that this service uses.',
15919
+ pattern='^[a-f0-9]{24}$',
15920
+ title='Agent Id',
15926
15921
  )
15927
- frontend_view: Optional[FrontendView] = Field(
15922
+ name: str = Field(..., description='The name of this service.', min_length=1)
15923
+ description: str = Field(
15924
+ ..., description='A description of this service.', min_length=1
15925
+ )
15926
+ is_active: bool = Field(
15927
+ ...,
15928
+ 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.',
15929
+ title='Is Active',
15930
+ )
15931
+ release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
15928
15932
  None,
15929
- description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
15933
+ 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.',
15930
15934
  )
15931
- inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
15932
- Field(
15933
- {},
15934
- description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
15935
- title='Inherited From',
15936
- )
15935
+ tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
15936
+ ..., description='The tags of this service.', title='Tags'
15937
15937
  )
15938
15938
 
15939
15939
 
@@ -16092,7 +16092,7 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
16092
16092
  tool_id: str = Field(
16093
16093
  ..., description='The ID of the tool that was invoked.', title='Tool Id'
16094
16094
  )
16095
- tool_version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
16095
+ tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
16096
16096
  ..., description='The version of the tool that was invoked.'
16097
16097
  )
16098
16098
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.55.0
3
+ Version: 0.57.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=IG6Qmj2nLIQCnUCfNKaXlmxih-ugSz3u9upFXTLYm7U,139
1
+ amigo_sdk/__init__.py,sha256=0llxKOaHaoc69AWjNvWLA6SEj6nLiGhZyJuCASHIv2g,139
2
2
  amigo_sdk/_retry_utils.py,sha256=kFjw9Wqye6MB5-B4rjLxsbSNcfYBIztcollIoncd1hY,2142
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=RkRyF5eAASd8fIOS6YvL9rLDvLAYWqHfpHSCR7jqvl4,4840
6
6
  amigo_sdk/http_client.py,sha256=v25UoUbXcMeHTnfJMcrl8RSSwCVkKUL1Jv-0HoXP1B4,13507
7
7
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
8
8
  amigo_sdk/sdk_client.py,sha256=Kr9M9o66pOLu0T2VDvqdYMmPZzgKJyTELu7BSPgGrYQ,6152
9
- amigo_sdk/generated/model.py,sha256=B8_Bt7oMXBSLnAR4UbxqTYa1E2BGnAJCrey8DgAZiCg,452130
9
+ amigo_sdk/generated/model.py,sha256=u0fFcDB3hmPtOjoiOuWcKACBCsCkP5_k73HNdTfonTU,452092
10
10
  amigo_sdk/resources/conversation.py,sha256=5PkJOvLKqnriSS9K9hKw2VRPxRLTuABEbCyPy1fz1r0,14817
11
11
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
12
12
  amigo_sdk/resources/service.py,sha256=SiwEHXCQk4r1b_tGv47M08VuB7RALDHJQzWlpuD937g,1571
13
13
  amigo_sdk/resources/user.py,sha256=vZPCw8i-xvcDQik8ouJbm8qVHucRbfxCWI3yYMDj8hg,3517
14
- amigo_sdk-0.55.0.dist-info/METADATA,sha256=rtSXB_XNU3mLq74j62wNrqiRAceMlzl7peSF5d-Bf3k,8350
15
- amigo_sdk-0.55.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.55.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.55.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.55.0.dist-info/RECORD,,
14
+ amigo_sdk-0.57.0.dist-info/METADATA,sha256=Sl4jnROOqlOl0_t-xYjpsUEqR1SDGFLMO77VGEj7WaE,8350
15
+ amigo_sdk-0.57.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.57.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.57.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.57.0.dist-info/RECORD,,