amigo_sdk 0.104.0__py3-none-any.whl → 0.105.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.104.0"
1
+ __version__ = "0.105.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: 2026-01-12T16:41:39+00:00
3
+ # timestamp: 2026-01-13T00:32:47+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1380,6 +1380,11 @@ class MongoCollectionsDynamicBehaviorSetVersionDynamicBehaviorSetVersionChangeTo
1380
1380
  )
1381
1381
 
1382
1382
 
1383
+ class MongoCollectionsMetricMetricTag(BaseModel):
1384
+ key: str = Field(..., title='Key')
1385
+ value: str | None = Field(..., title='Value')
1386
+
1387
+
1383
1388
  class MongoCollectionsMetricMetricUserInfo(
1384
1389
  MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1385
1390
  ):
@@ -1397,11 +1402,6 @@ class Action(Enum):
1397
1402
  deny = 'Deny'
1398
1403
 
1399
1404
 
1400
- class MongoCollectionsServiceServiceTag(BaseModel):
1401
- key: str = Field(..., title='Key')
1402
- value: str | None = Field(..., title='Value')
1403
-
1404
-
1405
1405
  class MongoCollectionsServiceServiceVersionSet(BaseModel):
1406
1406
  agent_version_number: int | None = Field(
1407
1407
  ...,
@@ -1624,6 +1624,11 @@ class ConversationCreateConversationRequest(BaseModel):
1624
1624
  description='The type of the `initial_message`. Can only be specified if `initial_message` is provided.',
1625
1625
  title='Initial Message Type',
1626
1626
  )
1627
+ tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
1628
+ ...,
1629
+ description='A list of tags for the conversation. Both the key and the value can only contain alphanumeric characters, underscores, or spaces.',
1630
+ title='Tags',
1631
+ )
1627
1632
 
1628
1633
 
1629
1634
  class ConversationGenerateConversationStarterRequest(BaseModel):
@@ -1681,6 +1686,21 @@ class TriggeredDynamicBehaviorSetVersionInfo(RootModel[tuple[str, int]]):
1681
1686
  )
1682
1687
 
1683
1688
 
1689
+ class ConversationModifyTagsOfConversationRequest(BaseModel):
1690
+ updates: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] | None = (
1691
+ Field(
1692
+ {},
1693
+ description='A mapping of tags to add or update on the conversation. Existing tags not included here remain unchanged.',
1694
+ title='Updates',
1695
+ )
1696
+ )
1697
+ deletes: list[PydanticBaseModelStrippedNonemptyString1] | None = Field(
1698
+ default_factory=list,
1699
+ description='A list of tags to remove from the conversation.',
1700
+ title='Deletes',
1701
+ )
1702
+
1703
+
1684
1704
  class ConversationRecommendResponsesForInteractionRequest(BaseModel):
1685
1705
  context: str | None = Field(
1686
1706
  '\nPERSONA:\nName: User\nBackground: A typical person seeking this service.\n---\nSCENARIO:\nName: Complete Service\nObjective: Successfully complete the service interaction.\nInstructions: Engage naturally with the agent to achieve the service objective.\n',
@@ -1796,20 +1816,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1796
1816
  )
1797
1817
 
1798
1818
 
1799
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1800
- BaseModel
1801
- ):
1802
- id: str = Field(..., title='Id')
1803
- name: str = Field(..., title='Name')
1804
- is_active: bool = Field(..., title='Is Active')
1805
- applied_to_services: list[str] = Field(..., title='Applied To Services')
1806
- tags: dict[str, str | None] = Field(..., title='Tags')
1807
- created_at: AwareDatetime = Field(..., title='Created At')
1808
- creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1809
- updated_at: AwareDatetime = Field(..., title='Updated At')
1810
- updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1811
-
1812
-
1813
1819
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1814
1820
  applied_to_services_ids: list[str] = Field(
1815
1821
  ...,
@@ -1830,14 +1836,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1830
1836
  )
1831
1837
 
1832
1838
 
1833
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1834
- dynamic_behavior_sets: list[
1835
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1836
- ] = Field(
1837
- ...,
1838
- description='The retrieved dynamic behavior sets.',
1839
- title='Dynamic Behavior Sets',
1840
- )
1839
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1840
+ BaseModel
1841
+ ):
1842
+ id: str = Field(..., title='Id')
1843
+ name: str = Field(..., title='Name')
1844
+ is_active: bool = Field(..., title='Is Active')
1845
+ applied_to_services: list[str] = Field(..., title='Applied To Services')
1846
+ tags: dict[str, str | None] = Field(..., title='Tags')
1847
+ created_at: AwareDatetime = Field(..., title='Created At')
1848
+ creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1849
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1850
+ updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1841
1851
 
1842
1852
 
1843
1853
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequest(BaseModel):
@@ -10612,7 +10622,7 @@ class NextState9(NextState7):
10612
10622
  pass
10613
10623
 
10614
10624
 
10615
- class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
10625
+ class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
10616
10626
  BaseModel
10617
10627
  ):
10618
10628
  description: str = Field(..., min_length=1)
@@ -10800,6 +10810,13 @@ class RoleModifyRoleResponse(BaseModel):
10800
10810
  )
10801
10811
 
10802
10812
 
10813
+ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10814
+ llm_name: LLMType
10815
+ params: dict[str, Any] | None = Field(
10816
+ {}, description='LLM-specific parameters to use.', title='Params'
10817
+ )
10818
+
10819
+
10803
10820
  class ServiceCreateServiceResponse(BaseModel):
10804
10821
  id: str = Field(..., description='The ID of the newly created service.', title='Id')
10805
10822
 
@@ -10875,13 +10892,6 @@ class ServiceUpdateServiceRequest(BaseModel):
10875
10892
  )
10876
10893
 
10877
10894
 
10878
- class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
10879
- llm_name: LLMType
10880
- params: dict[str, Any] | None = Field(
10881
- {}, description='LLM-specific parameters to use.', title='Params'
10882
- )
10883
-
10884
-
10885
10895
  class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
10886
10896
  background: str = Field(
10887
10897
  ..., description='The background of the simulation persona.', min_length=1
@@ -11375,22 +11385,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
11375
11385
  )
11376
11386
 
11377
11387
 
11378
- class InvocationMode(Enum):
11379
- regular = 'regular'
11380
- conversation_simulation = 'conversation-simulation'
11381
-
11382
-
11383
- class ToolInvokeToolVersionRequestInput(BaseModel):
11384
- input_parameters: dict[str, Any] = Field(
11385
- ...,
11386
- description='The input parameters for the tool invocation.',
11387
- title='Input Parameters',
11388
- )
11389
- invocation_mode: InvocationMode = Field(
11390
- ..., description='The mode of invocation.', title='Invocation Mode'
11391
- )
11392
-
11393
-
11394
11388
  class ToolModifyToolRequest(BaseModel):
11395
11389
  description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
11396
11390
  None, description='A description of this tool. Only updates if not-null.'
@@ -11435,34 +11429,19 @@ class ToolPublishToolVersionResponse(BaseModel):
11435
11429
  )
11436
11430
 
11437
11431
 
11438
- class ToolTestToolRequest(BaseModel):
11439
- inputs: list[ToolInvokeToolVersionRequestInput] = Field(
11440
- ...,
11441
- description='The list of inputs for the tool invocation.',
11442
- max_length=10,
11443
- min_length=1,
11444
- title='Inputs',
11445
- )
11446
- commit_branch: str = Field(
11447
- ...,
11448
- description='The branch in the tools repo whose tip will be tested.',
11449
- title='Commit Branch',
11450
- )
11451
- project_path: str = Field(
11452
- ...,
11453
- description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11454
- pattern='^[-\\w\\d_/]+$',
11455
- title='Project Path',
11456
- )
11457
- required_envvars: dict[str, str] = Field(
11432
+ class InvocationMode(Enum):
11433
+ regular = 'regular'
11434
+ conversation_simulation = 'conversation-simulation'
11435
+
11436
+
11437
+ class ToolTestToolRequestInput(BaseModel):
11438
+ input_parameters: dict[str, Any] = Field(
11458
11439
  ...,
11459
- description='The environment variables required for the tool to run.',
11460
- title='Required Envvars',
11440
+ description='The input parameters for the tool invocation.',
11441
+ title='Input Parameters',
11461
11442
  )
11462
- required_secret_envvars: dict[str, str] = Field(
11463
- ...,
11464
- description='The secret environment variables required for the tool to run.',
11465
- title='Required Secret Envvars',
11443
+ invocation_mode: InvocationMode = Field(
11444
+ ..., description='The mode of invocation.', title='Invocation Mode'
11466
11445
  )
11467
11446
 
11468
11447
 
@@ -11532,7 +11511,7 @@ class UserGetMemoriesResponse(BaseModel):
11532
11511
  )
11533
11512
 
11534
11513
 
11535
- class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11514
+ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11536
11515
  num_conversations: int = Field(
11537
11516
  ...,
11538
11517
  description='The number of conversations the user has created.',
@@ -11550,6 +11529,31 @@ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11550
11529
  )
11551
11530
 
11552
11531
 
11532
+ class UserSearchUsersResponseUserInstance(BaseModel):
11533
+ org_id: str = Field(
11534
+ ...,
11535
+ description='The ID of the organization that this user belongs to.',
11536
+ title='Org Id',
11537
+ )
11538
+ user_id: str = Field(
11539
+ ..., description='The identifier of the user.', title='User Id'
11540
+ )
11541
+ first_name: str = Field(
11542
+ ..., description='The first name of the user.', title='First Name'
11543
+ )
11544
+ last_name: str = Field(
11545
+ ..., description='The last name of the user.', title='Last Name'
11546
+ )
11547
+ email: str = Field(..., description='Email of the user.', title='Email')
11548
+ user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
11549
+ ..., description="Statistics about the user's usage of the Amigo platform."
11550
+ )
11551
+ role: str = Field(..., description='The ID of the role of the user.', title='Role')
11552
+ preferences: MongoCollectionsUserUserPreferences = Field(
11553
+ ..., description='The preferences of the user.'
11554
+ )
11555
+
11556
+
11553
11557
  class UserSignInWithApiKeyResponse(BaseModel):
11554
11558
  id_token: str = Field(
11555
11559
  ...,
@@ -11946,6 +11950,11 @@ class GetConversationsParametersQuery(BaseModel):
11946
11950
  description='The field to sort the conversations by. Supported fields are `created_at`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties.',
11947
11951
  title='Sort By',
11948
11952
  )
11953
+ tag: list[str] | None = Field(
11954
+ [],
11955
+ description='The tags of the dynamic behavior sets. Must be specified using the syntax `key:value`, which means to match all sets with the given `key` and `value` pair among its tags. If `value` is `*`, it means the `value` does not matter. If `value` is empty, it matches against when the value is `None`.',
11956
+ title='Tag',
11957
+ )
11949
11958
 
11950
11959
 
11951
11960
  class InteractionIdItem(AppliedToService):
@@ -11959,7 +11968,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11959
11968
  title='Id',
11960
11969
  )
11961
11970
  message_type: list[MessageType] | None = Field(
11962
- ['agent-message', 'user-message', 'external-event'],
11971
+ ['external-event', 'agent-message', 'user-message'],
11963
11972
  description='The type of messages to retrieve.',
11964
11973
  title='Message Type',
11965
11974
  )
@@ -13144,7 +13153,7 @@ class ActionStateInput(BaseModel):
13144
13153
  ..., title='Boundary Constraints'
13145
13154
  )
13146
13155
  exit_conditions: list[
13147
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
13156
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
13148
13157
  ] = Field(..., title='Exit Conditions')
13149
13158
  action_tool_call_specs: list[
13150
13159
  OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
@@ -13290,7 +13299,7 @@ class DecisionStateInput(BaseModel):
13290
13299
  type: Literal['decision'] = Field(..., title='Type')
13291
13300
  name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
13292
13301
  exit_conditions: list[
13293
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
13302
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
13294
13303
  ] = Field(..., title='Exit Conditions')
13295
13304
  decision_guidelines: list[PydanticBaseModelStrippedNonemptyString1] = Field(
13296
13305
  ..., title='Decision Guidelines'
@@ -13622,7 +13631,7 @@ class ServiceInstance(BaseModel):
13622
13631
  agent_id: str = Field(
13623
13632
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13624
13633
  )
13625
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13634
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13626
13635
  ..., description='The tags of the service.', title='Tags'
13627
13636
  )
13628
13637
 
@@ -13675,7 +13684,7 @@ class SimulationUnitTestSet(BaseModel):
13675
13684
  description='Whether the unit test set has been deleted.',
13676
13685
  title='Is Deleted',
13677
13686
  )
13678
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13687
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13679
13688
  ..., description='The tags of the simulation unit test set.', title='Tags'
13680
13689
  )
13681
13690
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13712,7 +13721,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13712
13721
  description='Whether the unit test set has been deleted.',
13713
13722
  title='Is Deleted',
13714
13723
  )
13715
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13724
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13716
13725
  ..., description='The tags of the simulation unit test set.', title='Tags'
13717
13726
  )
13718
13727
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13840,7 +13849,7 @@ class ToolInstance(BaseModel):
13840
13849
  description='A list of encrypted environment variables that some versions of this tool uses.',
13841
13850
  title='Secret Envvars',
13842
13851
  )
13843
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13852
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
13844
13853
  ..., description='The tags of the simulation persona.', title='Tags'
13845
13854
  )
13846
13855
 
@@ -14135,7 +14144,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
14135
14144
 
14136
14145
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14137
14146
  dynamic_behavior_sets: list[
14138
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14147
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14139
14148
  ] = Field(
14140
14149
  ...,
14141
14150
  description='The retrieved dynamic behavior sets.',
@@ -14159,6 +14168,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14159
14168
  )
14160
14169
 
14161
14170
 
14171
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14172
+ dynamic_behavior_sets: list[
14173
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14174
+ ] = Field(
14175
+ ...,
14176
+ description='The retrieved dynamic behavior sets.',
14177
+ title='Dynamic Behavior Sets',
14178
+ )
14179
+
14180
+
14162
14181
  class MetricCreateMetricRequest(BaseModel):
14163
14182
  name: str = Field(
14164
14183
  ...,
@@ -14480,9 +14499,9 @@ class ServiceCreateServiceRequestVersionSet(BaseModel):
14480
14499
  description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14481
14500
  title='Service Hierarchical State Machine Version Number',
14482
14501
  )
14483
- llm_model_preferences: dict[
14484
- str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
14485
- ] = Field(..., title='Llm Model Preferences')
14502
+ llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
14503
+ Field(..., title='Llm Model Preferences')
14504
+ )
14486
14505
 
14487
14506
 
14488
14507
  class ServiceGetServicesResponse(BaseModel):
@@ -14705,7 +14724,7 @@ class ToolGetToolsResponse(BaseModel):
14705
14724
 
14706
14725
 
14707
14726
  class ToolInvokeToolVersionRequest(BaseModel):
14708
- inputs: list[ToolInvokeToolVersionRequestInput] = Field(
14727
+ inputs: list[ToolTestToolRequestInput] = Field(
14709
14728
  ...,
14710
14729
  description='The list of inputs for the tool invocation.',
14711
14730
  max_length=10,
@@ -14729,6 +14748,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
14729
14748
  deletes: list[DeleteRequest] | None = Field(default_factory=list, title='Deletes')
14730
14749
 
14731
14750
 
14751
+ class ToolTestToolRequest(BaseModel):
14752
+ inputs: list[ToolTestToolRequestInput] = Field(
14753
+ ...,
14754
+ description='The list of inputs for the tool invocation.',
14755
+ max_length=10,
14756
+ min_length=1,
14757
+ title='Inputs',
14758
+ )
14759
+ commit_branch: str = Field(
14760
+ ...,
14761
+ description='The branch in the tools repo whose tip will be tested.',
14762
+ title='Commit Branch',
14763
+ )
14764
+ project_path: str = Field(
14765
+ ...,
14766
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
14767
+ pattern='^[-\\w\\d_/]+$',
14768
+ title='Project Path',
14769
+ )
14770
+ required_envvars: dict[str, str] = Field(
14771
+ ...,
14772
+ description='The environment variables required for the tool to run.',
14773
+ title='Required Envvars',
14774
+ )
14775
+ required_secret_envvars: dict[str, str] = Field(
14776
+ ...,
14777
+ description='The secret environment variables required for the tool to run.',
14778
+ title='Required Secret Envvars',
14779
+ )
14780
+
14781
+
14732
14782
  class ToolTestToolResponse(ToolInvokeToolVersionResponse):
14733
14783
  pass
14734
14784
 
@@ -14770,28 +14820,23 @@ class UserGetUserModelResponse(BaseModel):
14770
14820
  )
14771
14821
 
14772
14822
 
14773
- class UserSearchUsersResponseUserInstance(BaseModel):
14774
- org_id: str = Field(
14775
- ...,
14776
- description='The ID of the organization that this user belongs to.',
14777
- title='Org Id',
14778
- )
14779
- user_id: str = Field(
14780
- ..., description='The identifier of the user.', title='User Id'
14781
- )
14782
- first_name: str = Field(
14783
- ..., description='The first name of the user.', title='First Name'
14823
+ class UserGetUsersResponse(BaseModel):
14824
+ users: list[UserSearchUsersResponseUserInstance] = Field(
14825
+ ..., description='Users in this organization.', title='Users'
14784
14826
  )
14785
- last_name: str = Field(
14786
- ..., description='The last name of the user.', title='Last Name'
14827
+ has_more: bool = Field(
14828
+ ..., description='Whether there are more users to retrieve.', title='Has More'
14787
14829
  )
14788
- email: str = Field(..., description='Email of the user.', title='Email')
14789
- user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
14790
- ..., description="Statistics about the user's usage of the Amigo platform."
14830
+ continuation_token: int | None = Field(
14831
+ ...,
14832
+ description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
14833
+ title='Continuation Token',
14791
14834
  )
14792
- role: str = Field(..., description='The ID of the role of the user.', title='Role')
14793
- preferences: MongoCollectionsUserUserPreferences = Field(
14794
- ..., description='The preferences of the user.'
14835
+
14836
+
14837
+ class UserSearchUsersResponse(BaseModel):
14838
+ users: list[UserSearchUsersResponseUserInstance] = Field(
14839
+ ..., description='Users in this organization.', title='Users'
14795
14840
  )
14796
14841
 
14797
14842
 
@@ -14930,7 +14975,7 @@ class Metric(BaseModel):
14930
14975
  additional_notes: str | None = Field(
14931
14976
  ..., description='Additional notes about the metric.', title='Additional Notes'
14932
14977
  )
14933
- tags: list[MongoCollectionsServiceServiceTag] = Field(
14978
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
14934
14979
  ..., description='The tags of the metric.', title='Tags'
14935
14980
  )
14936
14981
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15003,7 +15048,7 @@ class MetricInstance(BaseModel):
15003
15048
  additional_notes: str | None = Field(
15004
15049
  ..., description='Additional notes about the metric.', title='Additional Notes'
15005
15050
  )
15006
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15051
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15007
15052
  ..., description='The tags of the metric.', title='Tags'
15008
15053
  )
15009
15054
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15099,7 +15144,7 @@ class SimulationUnitTest(BaseModel):
15099
15144
  is_deleted: bool = Field(
15100
15145
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15101
15146
  )
15102
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15147
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15103
15148
  ..., description='The tags of the simulation persona.', title='Tags'
15104
15149
  )
15105
15150
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15144,7 +15189,7 @@ class SimulationUnitTestInstance(BaseModel):
15144
15189
  is_deleted: bool = Field(
15145
15190
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15146
15191
  )
15147
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15192
+ tags: list[MongoCollectionsMetricMetricTag] = Field(
15148
15193
  ..., description='The tags of the simulation persona.', title='Tags'
15149
15194
  )
15150
15195
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15576,7 +15621,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
15576
15621
  )
15577
15622
 
15578
15623
 
15579
- class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
15624
+ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
15580
15625
  id: str = Field(..., description='The ID of the tool invocation.', title='Id')
15581
15626
  org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
15582
15627
  created_at: AwareDatetime | None = Field(None, title='Created At')
@@ -15603,23 +15648,11 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
15603
15648
  )
15604
15649
 
15605
15650
 
15606
- class UserGetUsersResponse(BaseModel):
15607
- users: list[UserSearchUsersResponseUserInstance] = Field(
15608
- ..., description='Users in this organization.', title='Users'
15609
- )
15610
- has_more: bool = Field(
15611
- ..., description='Whether there are more users to retrieve.', title='Has More'
15612
- )
15613
- continuation_token: int | None = Field(
15614
- ...,
15615
- description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
15616
- title='Continuation Token',
15617
- )
15618
-
15619
-
15620
- class UserSearchUsersResponse(BaseModel):
15621
- users: list[UserSearchUsersResponseUserInstance] = Field(
15622
- ..., description='Users in this organization.', title='Users'
15651
+ class ToolSearchToolInvocationsResponse(BaseModel):
15652
+ tool_invocations: list[ToolGetToolInvocationsResponseToolInvocationInstance] = (
15653
+ Field(
15654
+ ..., description='The list of tool invocations.', title='Tool Invocations'
15655
+ )
15623
15656
  )
15624
15657
 
15625
15658
 
@@ -15827,7 +15860,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
15827
15860
 
15828
15861
 
15829
15862
  class ToolGetToolInvocationsResponse(BaseModel):
15830
- tool_invocations: list[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
15863
+ tool_invocations: list[ToolGetToolInvocationsResponseToolInvocationInstance] = (
15831
15864
  Field(
15832
15865
  ..., description='The list of tool invocations.', title='Tool Invocations'
15833
15866
  )
@@ -15842,11 +15875,3 @@ class ToolGetToolInvocationsResponse(BaseModel):
15842
15875
  description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
15843
15876
  title='Continuation Token',
15844
15877
  )
15845
-
15846
-
15847
- class ToolSearchToolInvocationsResponse(BaseModel):
15848
- tool_invocations: list[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
15849
- Field(
15850
- ..., description='The list of tool invocations.', title='Tool Invocations'
15851
- )
15852
- )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.104.0
3
+ Version: 0.105.0
4
4
  Summary: Amigo AI Python SDK
5
5
  Author: Amigo AI
6
6
  License-File: LICENSE
@@ -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=iolFD9HiwaCApwA9XPByWngpt0x-TKchVyAi54_jF9g,140
5
+ amigo_sdk/__init__.py,sha256=onI2IGFvocw3pliJoMJt5iaZsaArF_6ZmKuN3lgcsBg,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=bCMB3cgF9NlJMhN1FB30GFMOUDHKDOpMKLz58TirWxE,442696
13
+ amigo_sdk/generated/model.py,sha256=29a4CeT00NctL2CSmRrGNhYqVV4tei4qWhNf07ceo1w,443870
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.104.0.dist-info/METADATA,sha256=OmL3cpSgmbOHoaG39xbqN263nnr4t3nhQ05IvFDP9WI,8500
19
- amigo_sdk-0.104.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
- amigo_sdk-0.104.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
- amigo_sdk-0.104.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
- amigo_sdk-0.104.0.dist-info/RECORD,,
18
+ amigo_sdk-0.105.0.dist-info/METADATA,sha256=ld-n5WZr259G9EL0TVlQdxHa2hPKvf06kszxauLtnHI,8500
19
+ amigo_sdk-0.105.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
+ amigo_sdk-0.105.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
+ amigo_sdk-0.105.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
+ amigo_sdk-0.105.0.dist-info/RECORD,,