amigo_sdk 0.61.0__py3-none-any.whl → 0.63.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.61.0"
1
+ __version__ = "0.63.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-13T18:32:12+00:00
3
+ # timestamp: 2025-11-14T16:56:28+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -918,7 +918,7 @@ class ReflectionStateOutputNextState(AnnotationStateOutputNextState):
918
918
 
919
919
 
920
920
  class ResultPersistence(Enum):
921
- ephemral = 'ephemral'
921
+ ephemeral = 'ephemeral'
922
922
  persisted_preferred = 'persisted-preferred'
923
923
  persisted = 'persisted'
924
924
 
@@ -1159,15 +1159,14 @@ class ToolCallLog(BaseModel):
1159
1159
  input: Dict[str, Any] = Field(
1160
1160
  ..., description='The input to the tool call.', title='Input'
1161
1161
  )
1162
- output: str = Field(..., description='The output of the tool call.', title='Output')
1162
+ output: Optional[str] = Field(
1163
+ ...,
1164
+ description="The output of the tool call. If `None`, the tool call's output is ephemeral and not stored.",
1165
+ title='Output',
1166
+ )
1163
1167
  duration: float = Field(
1164
1168
  ..., description='The duration of the tool call in seconds.', title='Duration'
1165
1169
  )
1166
- hidden: Optional[bool] = Field(
1167
- False,
1168
- description="Whether the tool call should be hidden in interaction logs based on the tool call spec's `result_persistence` setting.",
1169
- title='Hidden',
1170
- )
1171
1170
 
1172
1171
 
1173
1172
  class ToolCallSpecOutput(BaseModel):
@@ -1192,8 +1191,9 @@ class ToolCallSpecOutput(BaseModel):
1192
1191
  description='The number of seconds to wait before playing an audio filler.',
1193
1192
  title='Audio Filler Triggered After',
1194
1193
  )
1195
- result_persistence: Optional[ResultPersistence] = Field(
1196
- 'persisted', description='The type of result persistence for this tool call.'
1194
+ result_persistence: ResultPersistence = Field(
1195
+ ...,
1196
+ description="The type of result persistence for this tool call.\n\n- If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.\n- If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.\n- If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown.",
1197
1197
  )
1198
1198
 
1199
1199
 
@@ -1630,6 +1630,11 @@ class AmigoLibMongoCollectionsRoleRolePermissionGrantAction(Enum):
1630
1630
  deny = 'Deny'
1631
1631
 
1632
1632
 
1633
+ class AmigoLibMongoCollectionsServiceServiceTag(BaseModel):
1634
+ key: str = Field(..., title='Key')
1635
+ value: Optional[str] = Field(..., title='Value')
1636
+
1637
+
1633
1638
  class AmigoLibMongoCollectionsServiceServiceVersionSet(BaseModel):
1634
1639
  agent_version_number: Optional[int] = Field(
1635
1640
  ...,
@@ -1661,11 +1666,6 @@ AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
1661
1666
  )
1662
1667
 
1663
1668
 
1664
- class AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
1665
- key: str = Field(..., title='Key')
1666
- value: Optional[str] = Field(..., title='Value')
1667
-
1668
-
1669
1669
  AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
1670
1670
  AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1671
1671
  )
@@ -1951,20 +1951,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1951
1951
  )
1952
1952
 
1953
1953
 
1954
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1955
- BaseModel
1956
- ):
1957
- id: str = Field(..., title='Id')
1958
- name: str = Field(..., title='Name')
1959
- is_active: bool = Field(..., title='Is Active')
1960
- applied_to_services: List[str] = Field(..., title='Applied To Services')
1961
- tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1962
- created_at: AwareDatetime = Field(..., title='Created At')
1963
- creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1964
- updated_at: AwareDatetime = Field(..., title='Updated At')
1965
- updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1966
-
1967
-
1968
1954
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1969
1955
  applied_to_services_ids: List[str] = Field(
1970
1956
  ...,
@@ -1985,14 +1971,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1985
1971
  )
1986
1972
 
1987
1973
 
1988
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1989
- dynamic_behavior_sets: List[
1990
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1991
- ] = Field(
1992
- ...,
1993
- description='The retrieved dynamic behavior sets.',
1994
- title='Dynamic Behavior Sets',
1995
- )
1974
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1975
+ BaseModel
1976
+ ):
1977
+ id: str = Field(..., title='Id')
1978
+ name: str = Field(..., title='Name')
1979
+ is_active: bool = Field(..., title='Is Active')
1980
+ applied_to_services: List[str] = Field(..., title='Applied To Services')
1981
+ tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1982
+ created_at: AwareDatetime = Field(..., title='Created At')
1983
+ creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1984
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1985
+ updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1996
1986
 
1997
1987
 
1998
1988
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
@@ -10958,9 +10948,17 @@ class RoleModifyRoleResponse(BaseModel):
10958
10948
  )
10959
10949
 
10960
10950
 
10961
- class ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig(BaseModel):
10962
- llm_load_balancing_set_name: LLMLoadBalancingSetType
10963
- configs: Dict[str, PerLLMConfig] = Field(..., title='Configs')
10951
+ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10952
+ llm_name: LLMType
10953
+ top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
10954
+ temperature: float = Field(
10955
+ ..., description='The preferred temperature value.', title='Temperature'
10956
+ )
10957
+ top_k: int = Field(
10958
+ ...,
10959
+ description='The preferred `top_k` value. Note that not all LLMs support this.',
10960
+ title='Top K',
10961
+ )
10964
10962
 
10965
10963
 
10966
10964
  class ServiceCreateServiceResponse(BaseModel):
@@ -11022,17 +11020,11 @@ class ServiceUpdateServiceRequest(BaseModel):
11022
11020
  )
11023
11021
 
11024
11022
 
11025
- class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
11026
- llm_name: LLMType
11027
- top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
11028
- temperature: float = Field(
11029
- ..., description='The preferred temperature value.', title='Temperature'
11030
- )
11031
- top_k: int = Field(
11032
- ...,
11033
- description='The preferred `top_k` value. Note that not all LLMs support this.',
11034
- title='Top K',
11035
- )
11023
+ class ServiceUpsertServiceVersionSetRequestVersionSetLLMLoadBalancingSetConfig(
11024
+ BaseModel
11025
+ ):
11026
+ llm_load_balancing_set_name: LLMLoadBalancingSetType
11027
+ configs: Dict[str, PerLLMConfig] = Field(..., title='Configs')
11036
11028
 
11037
11029
 
11038
11030
  class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
@@ -11663,7 +11655,7 @@ class UserGetMemoriesResponse(BaseModel):
11663
11655
  )
11664
11656
 
11665
11657
 
11666
- class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11658
+ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11667
11659
  num_conversations: int = Field(
11668
11660
  ...,
11669
11661
  description='The number of conversations the user has created.',
@@ -11681,31 +11673,6 @@ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11681
11673
  )
11682
11674
 
11683
11675
 
11684
- class UserSearchUsersResponseUserInstance(BaseModel):
11685
- org_id: str = Field(
11686
- ...,
11687
- description='The ID of the organization that this user belongs to.',
11688
- title='Org Id',
11689
- )
11690
- user_id: str = Field(
11691
- ..., description='The identifier of the user.', title='User Id'
11692
- )
11693
- first_name: str = Field(
11694
- ..., description='The first name of the user.', title='First Name'
11695
- )
11696
- last_name: str = Field(
11697
- ..., description='The last name of the user.', title='Last Name'
11698
- )
11699
- email: str = Field(..., description='Email of the user.', title='Email')
11700
- user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
11701
- ..., description="Statistics about the user's usage of the Amigo platform."
11702
- )
11703
- role: str = Field(..., description='The ID of the role of the user.', title='Role')
11704
- preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
11705
- ..., description='The preferences of the user.'
11706
- )
11707
-
11708
-
11709
11676
  class UserSignInWithApiKeyResponse(BaseModel):
11710
11677
  id_token: str = Field(
11711
11678
  ...,
@@ -12153,7 +12120,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12153
12120
  [], description='The IDs of the messages to retrieve.', title='Id'
12154
12121
  )
12155
12122
  message_type: Optional[List[MessageType]] = Field(
12156
- ['external-event', 'agent-message', 'user-message'],
12123
+ ['agent-message', 'external-event', 'user-message'],
12157
12124
  description='The type of messages to retrieve.',
12158
12125
  title='Message Type',
12159
12126
  )
@@ -13884,7 +13851,7 @@ class ServiceInstance(BaseModel):
13884
13851
  agent_id: str = Field(
13885
13852
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13886
13853
  )
13887
- tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13854
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
13888
13855
  ..., description='The tags of the service.', title='Tags'
13889
13856
  )
13890
13857
 
@@ -13937,7 +13904,7 @@ class SimulationUnitTestSet(BaseModel):
13937
13904
  description='Whether the unit test set has been deleted.',
13938
13905
  title='Is Deleted',
13939
13906
  )
13940
- tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13907
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
13941
13908
  ..., description='The tags of the simulation unit test set.', title='Tags'
13942
13909
  )
13943
13910
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13976,7 +13943,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13976
13943
  description='Whether the unit test set has been deleted.',
13977
13944
  title='Is Deleted',
13978
13945
  )
13979
- tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13946
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
13980
13947
  ..., description='The tags of the simulation unit test set.', title='Tags'
13981
13948
  )
13982
13949
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14031,8 +13998,9 @@ class ToolCallSpecInput(BaseModel):
14031
13998
  le=10.0,
14032
13999
  title='Audio Filler Triggered After',
14033
14000
  )
14034
- result_persistence: Optional[ResultPersistence] = Field(
14035
- 'persisted', description='The type of result persistence for this tool call.'
14001
+ result_persistence: ResultPersistence = Field(
14002
+ ...,
14003
+ description="The type of result persistence for this tool call.\n\n- If `ephemeral`, the result of the tool call is only provided to the current LLM interaction. Any future LLM interactions will not see this tool result.\n- If `persisted-preferred`, the result of the tool call is reflected in all future LLM interactions if it's less than 5000 characters long. Otherwise, it's only visible in the current LLM interaction.\n- If `persisted`, the result of the tool call is reflected in all future LLM interactions, unless it's more than 5000 characters long, in which case an error is thrown.",
14036
14004
  )
14037
14005
 
14038
14006
 
@@ -14091,7 +14059,7 @@ class ToolInstance(BaseModel):
14091
14059
  description='A list of encrypted environment variables that some versions of this tool uses.',
14092
14060
  title='Secret Envvars',
14093
14061
  )
14094
- tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
14062
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
14095
14063
  ..., description='The tags of the simulation persona.', title='Tags'
14096
14064
  )
14097
14065
 
@@ -14425,7 +14393,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
14425
14393
 
14426
14394
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14427
14395
  dynamic_behavior_sets: List[
14428
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14396
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14429
14397
  ] = Field(
14430
14398
  ...,
14431
14399
  description='The retrieved dynamic behavior sets.',
@@ -14449,6 +14417,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14449
14417
  )
14450
14418
 
14451
14419
 
14420
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14421
+ dynamic_behavior_sets: List[
14422
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14423
+ ] = Field(
14424
+ ...,
14425
+ description='The retrieved dynamic behavior sets.',
14426
+ title='Dynamic Behavior Sets',
14427
+ )
14428
+
14429
+
14452
14430
  class MetricCreateMetricRequest(BaseModel):
14453
14431
  name: str = Field(
14454
14432
  ...,
@@ -14723,26 +14701,6 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
14723
14701
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
14724
14702
 
14725
14703
 
14726
- class ServiceCreateServiceRequestVersionSet(BaseModel):
14727
- agent_version_number: Optional[int] = Field(
14728
- ...,
14729
- description='The version number of the agent to be used. If None, the latest agent version will be used.',
14730
- title='Agent Version Number',
14731
- )
14732
- service_hierarchical_state_machine_version_number: Optional[int] = Field(
14733
- ...,
14734
- description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14735
- title='Service Hierarchical State Machine Version Number',
14736
- )
14737
- llm_model_preferences: Dict[
14738
- str,
14739
- Union[
14740
- ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig,
14741
- ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig,
14742
- ],
14743
- ] = Field(..., title='Llm Model Preferences')
14744
-
14745
-
14746
14704
  class ServiceGetServicesResponse(BaseModel):
14747
14705
  services: List[ServiceInstance] = Field(
14748
14706
  ..., description='The services that are found.', title='Services'
@@ -14763,10 +14721,24 @@ class ServiceGetServicesResponse(BaseModel):
14763
14721
  )
14764
14722
 
14765
14723
 
14766
- class ServiceUpsertServiceVersionSetRequest(BaseModel):
14767
- version_set: ServiceCreateServiceRequestVersionSet = Field(
14768
- ..., description='The version set to upsert.'
14724
+ class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
14725
+ agent_version_number: Optional[int] = Field(
14726
+ ...,
14727
+ description='The version number of the agent to be used. If None, the latest agent version will be used.',
14728
+ title='Agent Version Number',
14769
14729
  )
14730
+ service_hierarchical_state_machine_version_number: Optional[int] = Field(
14731
+ ...,
14732
+ description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14733
+ title='Service Hierarchical State Machine Version Number',
14734
+ )
14735
+ llm_model_preferences: Dict[
14736
+ str,
14737
+ Union[
14738
+ ServiceCreateServiceRequestVersionSetLLMConfig,
14739
+ ServiceUpsertServiceVersionSetRequestVersionSetLLMLoadBalancingSetConfig,
14740
+ ],
14741
+ ] = Field(..., title='Llm Model Preferences')
14770
14742
 
14771
14743
 
14772
14744
  class SimulationCreateSimulationPersonaRequest(BaseModel):
@@ -15063,23 +15035,28 @@ class UserGetUserModelResponse(BaseModel):
15063
15035
  )
15064
15036
 
15065
15037
 
15066
- class UserGetUsersResponse(BaseModel):
15067
- users: List[UserSearchUsersResponseUserInstance] = Field(
15068
- ..., description='Users in this organization.', title='Users'
15038
+ class UserSearchUsersResponseUserInstance(BaseModel):
15039
+ org_id: str = Field(
15040
+ ...,
15041
+ description='The ID of the organization that this user belongs to.',
15042
+ title='Org Id',
15069
15043
  )
15070
- has_more: bool = Field(
15071
- ..., description='Whether there are more users to retrieve.', title='Has More'
15044
+ user_id: str = Field(
15045
+ ..., description='The identifier of the user.', title='User Id'
15072
15046
  )
15073
- continuation_token: Optional[int] = Field(
15074
- ...,
15075
- description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
15076
- title='Continuation Token',
15047
+ first_name: str = Field(
15048
+ ..., description='The first name of the user.', title='First Name'
15077
15049
  )
15078
-
15079
-
15080
- class UserSearchUsersResponse(BaseModel):
15081
- users: List[UserSearchUsersResponseUserInstance] = Field(
15082
- ..., description='Users in this organization.', title='Users'
15050
+ last_name: str = Field(
15051
+ ..., description='The last name of the user.', title='Last Name'
15052
+ )
15053
+ email: str = Field(..., description='Email of the user.', title='Email')
15054
+ user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
15055
+ ..., description="Statistics about the user's usage of the Amigo platform."
15056
+ )
15057
+ role: str = Field(..., description='The ID of the role of the user.', title='Role')
15058
+ preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
15059
+ ..., description='The preferences of the user.'
15083
15060
  )
15084
15061
 
15085
15062
 
@@ -15266,7 +15243,7 @@ class Metric(BaseModel):
15266
15243
  additional_notes: Optional[str] = Field(
15267
15244
  ..., description='Additional notes about the metric.', title='Additional Notes'
15268
15245
  )
15269
- tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15246
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15270
15247
  ..., description='The tags of the metric.', title='Tags'
15271
15248
  )
15272
15249
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
@@ -15336,7 +15313,7 @@ class MetricInstance(BaseModel):
15336
15313
  additional_notes: Optional[str] = Field(
15337
15314
  ..., description='Additional notes about the metric.', title='Additional Notes'
15338
15315
  )
15339
- tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15316
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15340
15317
  ..., description='The tags of the metric.', title='Tags'
15341
15318
  )
15342
15319
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
@@ -15538,7 +15515,7 @@ class SimulationUnitTest(BaseModel):
15538
15515
  is_deleted: bool = Field(
15539
15516
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15540
15517
  )
15541
- tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15518
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15542
15519
  ..., description='The tags of the simulation persona.', title='Tags'
15543
15520
  )
15544
15521
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15583,7 +15560,7 @@ class SimulationUnitTestInstance(BaseModel):
15583
15560
  is_deleted: bool = Field(
15584
15561
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15585
15562
  )
15586
- tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15563
+ tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
15587
15564
  ..., description='The tags of the simulation persona.', title='Tags'
15588
15565
  )
15589
15566
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15957,15 +15934,23 @@ class ServiceCreateServiceRequest(BaseModel):
15957
15934
  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.',
15958
15935
  title='Is Active',
15959
15936
  )
15960
- release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
15961
- None,
15962
- 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.',
15937
+ release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
15938
+ Field(
15939
+ None,
15940
+ 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.',
15941
+ )
15963
15942
  )
15964
15943
  tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
15965
15944
  ..., description='The tags of this service.', title='Tags'
15966
15945
  )
15967
15946
 
15968
15947
 
15948
+ class ServiceUpsertServiceVersionSetRequest(BaseModel):
15949
+ version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
15950
+ ..., description='The version set to upsert.'
15951
+ )
15952
+
15953
+
15969
15954
  class SimulationCreateSimulationUnitTestRequest(BaseModel):
15970
15955
  name: str = Field(..., description='The name of the unit test.', min_length=1)
15971
15956
  description: str = Field(
@@ -16134,6 +16119,26 @@ class ToolSearchToolInvocationsResponse(BaseModel):
16134
16119
  )
16135
16120
 
16136
16121
 
16122
+ class UserGetUsersResponse(BaseModel):
16123
+ users: List[UserSearchUsersResponseUserInstance] = Field(
16124
+ ..., description='Users in this organization.', title='Users'
16125
+ )
16126
+ has_more: bool = Field(
16127
+ ..., description='Whether there are more users to retrieve.', title='Has More'
16128
+ )
16129
+ continuation_token: Optional[int] = Field(
16130
+ ...,
16131
+ description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
16132
+ title='Continuation Token',
16133
+ )
16134
+
16135
+
16136
+ class UserSearchUsersResponse(BaseModel):
16137
+ users: List[UserSearchUsersResponseUserInstance] = Field(
16138
+ ..., description='Users in this organization.', title='Users'
16139
+ )
16140
+
16141
+
16137
16142
  class SimulationUnitTestSetRunInstance(BaseModel):
16138
16143
  org_id: str = Field(..., title='Org Id')
16139
16144
  id: str = Field(..., title='Id')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.61.0
3
+ Version: 0.63.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=-clUEoMLj9P89QvxZSOg6hC2zVSbmICf4ZVLXTaFEnM,139
1
+ amigo_sdk/__init__.py,sha256=67MLi4srbwW9vkJyLnDDEC6x6rLAQNh5IKfLkRJvLpk,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=lAsbnObxCkjQZP0eBDX_OHkvYAzDgb3T-3ZUERBzRxk,452956
9
+ amigo_sdk/generated/model.py,sha256=Fiw9s5Eo1nqQPUIBGCncKR2j-DFoXu83l9h_eFcuDXE,453760
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.61.0.dist-info/METADATA,sha256=WgMx4jQFf3yLBrPlE4FLHI350iRY3e_aFtGc90FG0iw,8350
15
- amigo_sdk-0.61.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.61.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.61.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.61.0.dist-info/RECORD,,
14
+ amigo_sdk-0.63.0.dist-info/METADATA,sha256=GNqgdLy0eqXw0HybQhKrdeCT4U9sQOIJ6SCTq8EOutM,8350
15
+ amigo_sdk-0.63.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.63.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.63.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.63.0.dist-info/RECORD,,