amigo_sdk 0.99.0__py3-none-any.whl → 0.100.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.99.0"
1
+ __version__ = "0.100.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-09T15:07:06+00:00
3
+ # timestamp: 2026-01-10T22:11:51+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1490,11 +1490,6 @@ class MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo(
1490
1490
  pass
1491
1491
 
1492
1492
 
1493
- class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
1494
- key: str = Field(..., title='Key')
1495
- value: str | None = Field(..., title='Value')
1496
-
1497
-
1498
1493
  class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
1499
1494
  BaseModel
1500
1495
  ):
@@ -1529,10 +1524,9 @@ class MongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo(
1529
1524
  pass
1530
1525
 
1531
1526
 
1532
- class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1533
- major: int = Field(..., title='Major')
1534
- minor: int = Field(..., title='Minor')
1535
- patch: int = Field(..., title='Patch')
1527
+ class MongoCollectionsToolToolTag(BaseModel):
1528
+ key: str = Field(..., title='Key')
1529
+ value: str | None = Field(..., title='Value')
1536
1530
 
1537
1531
 
1538
1532
  class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
@@ -1542,6 +1536,12 @@ class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1542
1536
  )
1543
1537
 
1544
1538
 
1539
+ class MongoCollectionsToolVersionToolVersionVersion(BaseModel):
1540
+ major: int = Field(..., title='Major')
1541
+ minor: int = Field(..., title='Minor')
1542
+ patch: int = Field(..., title='Patch')
1543
+
1544
+
1545
1545
  class MongoCollectionsUserUserPreferences(BaseModel):
1546
1546
  enable_response_recommendation: bool | None = Field(
1547
1547
  False,
@@ -1770,6 +1770,18 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolC
1770
1770
  )
1771
1771
 
1772
1772
 
1773
+ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction(
1774
+ BaseModel
1775
+ ):
1776
+ type: Literal['inject-instruction'] = Field(..., title='Type')
1777
+ instruction: str = Field(..., min_length=1)
1778
+ overrides_instructions: bool = Field(
1779
+ ...,
1780
+ description='During injection, whether the original instruction of the state is overriden with this instruction.',
1781
+ title='Overrides Instructions',
1782
+ )
1783
+
1784
+
1773
1785
  class DynamicBehaviorSetCreateDynamicBehaviorSetResponse(BaseModel):
1774
1786
  dynamic_behavior_set_id: str = Field(
1775
1787
  ...,
@@ -1784,18 +1796,6 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
1784
1796
  pass
1785
1797
 
1786
1798
 
1787
- class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction(
1788
- BaseModel
1789
- ):
1790
- type: Literal['inject-instruction'] = Field(..., title='Type')
1791
- instruction: str = Field(..., min_length=1)
1792
- overrides_instructions: bool = Field(
1793
- ...,
1794
- description='During injection, whether the original instruction of the state is overriden with this instruction.',
1795
- title='Overrides Instructions',
1796
- )
1797
-
1798
-
1799
1799
  class DynamicBehaviorSetCreateDynamicBehaviorSetVersionResponse(BaseModel):
1800
1800
  new_version_number: int = Field(
1801
1801
  ...,
@@ -1822,20 +1822,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1822
1822
  )
1823
1823
 
1824
1824
 
1825
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1826
- BaseModel
1827
- ):
1828
- id: str = Field(..., title='Id')
1829
- name: str = Field(..., title='Name')
1830
- is_active: bool = Field(..., title='Is Active')
1831
- applied_to_services: list[str] = Field(..., title='Applied To Services')
1832
- tags: dict[str, str | None] = Field(..., title='Tags')
1833
- created_at: AwareDatetime = Field(..., title='Created At')
1834
- creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1835
- updated_at: AwareDatetime = Field(..., title='Updated At')
1836
- updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1837
-
1838
-
1839
1825
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1840
1826
  applied_to_services_ids: list[str] = Field(
1841
1827
  ...,
@@ -1856,14 +1842,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1856
1842
  )
1857
1843
 
1858
1844
 
1859
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1860
- dynamic_behavior_sets: list[
1861
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1862
- ] = Field(
1863
- ...,
1864
- description='The retrieved dynamic behavior sets.',
1865
- title='Dynamic Behavior Sets',
1866
- )
1845
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1846
+ BaseModel
1847
+ ):
1848
+ id: str = Field(..., title='Id')
1849
+ name: str = Field(..., title='Name')
1850
+ is_active: bool = Field(..., title='Is Active')
1851
+ applied_to_services: list[str] = Field(..., title='Applied To Services')
1852
+ tags: dict[str, str | None] = Field(..., title='Tags')
1853
+ created_at: AwareDatetime = Field(..., title='Created At')
1854
+ creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1855
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1856
+ updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1867
1857
 
1868
1858
 
1869
1859
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequest(BaseModel):
@@ -10602,6 +10592,11 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
10602
10592
  )
10603
10593
 
10604
10594
 
10595
+ class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
10596
+ description: str = Field(..., min_length=1)
10597
+ tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10598
+
10599
+
10605
10600
  class OrganizationCreateOrganizationResponse(BaseModel):
10606
10601
  org_id: str = Field(
10607
10602
  ...,
@@ -10633,7 +10628,7 @@ class NextState9(NextState7):
10633
10628
  pass
10634
10629
 
10635
10630
 
10636
- class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
10631
+ class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
10637
10632
  BaseModel
10638
10633
  ):
10639
10634
  description: str = Field(..., min_length=1)
@@ -10776,17 +10771,23 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
10776
10771
  )
10777
10772
 
10778
10773
 
10774
+ class UserDimensions(
10775
+ RootModel[list[OrganizationCreateOrganizationRequestUserDimension]]
10776
+ ):
10777
+ root: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
10778
+ ...,
10779
+ description='User dimensions for the organization. If not set or `null`, this field is not updated.',
10780
+ min_length=1,
10781
+ title='User Dimensions',
10782
+ )
10783
+
10784
+
10779
10785
  class OrganizationModifyOrganizationRequestPreferences(
10780
10786
  OrganizationCreateOrganizationRequestPreferences
10781
10787
  ):
10782
10788
  pass
10783
10789
 
10784
10790
 
10785
- class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
10786
- description: str = Field(..., min_length=1)
10787
- tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10788
-
10789
-
10790
10791
  class RoleAssignRoleRequest(BaseModel):
10791
10792
  user_id: str = Field(
10792
10793
  ...,
@@ -10815,13 +10816,6 @@ class RoleModifyRoleResponse(BaseModel):
10815
10816
  )
10816
10817
 
10817
10818
 
10818
- class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10819
- llm_name: LLMType
10820
- params: dict[str, Any] | None = Field(
10821
- {}, description='LLM-specific parameters to use.', title='Params'
10822
- )
10823
-
10824
-
10825
10819
  class ServiceCreateServiceResponse(BaseModel):
10826
10820
  id: str = Field(..., description='The ID of the newly created service.', title='Id')
10827
10821
 
@@ -10897,6 +10891,13 @@ class ServiceUpdateServiceRequest(BaseModel):
10897
10891
  )
10898
10892
 
10899
10893
 
10894
+ class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
10895
+ llm_name: LLMType
10896
+ params: dict[str, Any] | None = Field(
10897
+ {}, description='LLM-specific parameters to use.', title='Params'
10898
+ )
10899
+
10900
+
10900
10901
  class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
10901
10902
  background: str = Field(
10902
10903
  ..., description='The background of the simulation persona.', min_length=1
@@ -11069,40 +11070,6 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
11069
11070
  )
11070
11071
 
11071
11072
 
11072
- class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11073
- id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11074
- name: str = Field(
11075
- ..., description='The name of the simulation persona.', title='Name'
11076
- )
11077
- role: str = Field(
11078
- ..., description='The role of the simulation persona.', title='Role'
11079
- )
11080
- tags: dict[str, str | None] = Field(
11081
- ..., description='The tags of the simulation persona.', title='Tags'
11082
- )
11083
- is_deleted: bool = Field(
11084
- ...,
11085
- description='Whether the simulation persona is deleted.',
11086
- title='Is Deleted',
11087
- )
11088
- created_at: AwareDatetime = Field(
11089
- ...,
11090
- description='The timestamp when the simulation persona was created.',
11091
- title='Created At',
11092
- )
11093
- creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11094
- ..., description='The user who created the simulation persona.'
11095
- )
11096
- updated_at: AwareDatetime = Field(
11097
- ...,
11098
- description='The timestamp when the simulation persona was last updated.',
11099
- title='Updated At',
11100
- )
11101
- updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11102
- ..., description='The user who last updated the simulation persona.'
11103
- )
11104
-
11105
-
11106
11073
  class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
11107
11074
  simulation_scenario_versions: list[SimulationScenarioVersion] = Field(
11108
11075
  ...,
@@ -11134,37 +11101,6 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11134
11101
  )
11135
11102
 
11136
11103
 
11137
- class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11138
- id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11139
- name: str = Field(
11140
- ..., description='The name of the simulation scenario.', title='Name'
11141
- )
11142
- tags: dict[str, str | None] = Field(
11143
- ..., description='The tags of the simulation scenario.', title='Tags'
11144
- )
11145
- is_deleted: bool = Field(
11146
- ...,
11147
- description='Whether the simulation scenario is deleted.',
11148
- title='Is Deleted',
11149
- )
11150
- created_at: AwareDatetime = Field(
11151
- ...,
11152
- description='The timestamp when the simulation scenario was created.',
11153
- title='Created At',
11154
- )
11155
- creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11156
- ..., description='The user who created the simulation scenario.'
11157
- )
11158
- updated_at: AwareDatetime = Field(
11159
- ...,
11160
- description='The timestamp when the simulation scenario was last updated.',
11161
- title='Updated At',
11162
- )
11163
- updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11164
- ..., description='The user who last updated the simulation scenario.'
11165
- )
11166
-
11167
-
11168
11104
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11169
11105
  presigned_url: str = Field(
11170
11106
  ...,
@@ -11253,21 +11189,68 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
11253
11189
  )
11254
11190
 
11255
11191
 
11256
- class SimulationSearchSimulationPersonasResponse(BaseModel):
11257
- simulation_personas: list[
11258
- SimulationGetSimulationPersonasResponseSimulationPersonaInstance
11259
- ] = Field(
11260
- ..., description='The list of simulation personas.', title='Simulation Personas'
11192
+ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11193
+ id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11194
+ name: str = Field(
11195
+ ..., description='The name of the simulation persona.', title='Name'
11196
+ )
11197
+ role: str = Field(
11198
+ ..., description='The role of the simulation persona.', title='Role'
11199
+ )
11200
+ tags: dict[str, str | None] = Field(
11201
+ ..., description='The tags of the simulation persona.', title='Tags'
11202
+ )
11203
+ is_deleted: bool = Field(
11204
+ ...,
11205
+ description='Whether the simulation persona is deleted.',
11206
+ title='Is Deleted',
11207
+ )
11208
+ created_at: AwareDatetime = Field(
11209
+ ...,
11210
+ description='The timestamp when the simulation persona was created.',
11211
+ title='Created At',
11212
+ )
11213
+ creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11214
+ ..., description='The user who created the simulation persona.'
11215
+ )
11216
+ updated_at: AwareDatetime = Field(
11217
+ ...,
11218
+ description='The timestamp when the simulation persona was last updated.',
11219
+ title='Updated At',
11220
+ )
11221
+ updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11222
+ ..., description='The user who last updated the simulation persona.'
11261
11223
  )
11262
11224
 
11263
11225
 
11264
- class SimulationSearchSimulationScenariosResponse(BaseModel):
11265
- simulation_scenarios: list[
11266
- SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11267
- ] = Field(
11226
+ class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11227
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11228
+ name: str = Field(
11229
+ ..., description='The name of the simulation scenario.', title='Name'
11230
+ )
11231
+ tags: dict[str, str | None] = Field(
11232
+ ..., description='The tags of the simulation scenario.', title='Tags'
11233
+ )
11234
+ is_deleted: bool = Field(
11268
11235
  ...,
11269
- description='The list of simulation scenarios.',
11270
- title='Simulation Scenarios',
11236
+ description='Whether the simulation scenario is deleted.',
11237
+ title='Is Deleted',
11238
+ )
11239
+ created_at: AwareDatetime = Field(
11240
+ ...,
11241
+ description='The timestamp when the simulation scenario was created.',
11242
+ title='Created At',
11243
+ )
11244
+ creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11245
+ ..., description='The user who created the simulation scenario.'
11246
+ )
11247
+ updated_at: AwareDatetime = Field(
11248
+ ...,
11249
+ description='The timestamp when the simulation scenario was last updated.',
11250
+ title='Updated At',
11251
+ )
11252
+ updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11253
+ ..., description='The user who last updated the simulation scenario.'
11271
11254
  )
11272
11255
 
11273
11256
 
@@ -11999,7 +11982,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11999
11982
  title='Id',
12000
11983
  )
12001
11984
  message_type: list[MessageType] | None = Field(
12002
- ['external-event', 'agent-message', 'user-message'],
11985
+ ['agent-message', 'external-event', 'user-message'],
12003
11986
  description='The type of messages to retrieve.',
12004
11987
  title='Message Type',
12005
11988
  )
@@ -13159,7 +13142,7 @@ class ActionStateInput(BaseModel):
13159
13142
  ..., title='Boundary Constraints'
13160
13143
  )
13161
13144
  exit_conditions: list[
13162
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
13145
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
13163
13146
  ] = Field(..., title='Exit Conditions')
13164
13147
  action_tool_call_specs: list[
13165
13148
  OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
@@ -13305,7 +13288,7 @@ class DecisionStateInput(BaseModel):
13305
13288
  type: Literal['decision'] = Field(..., title='Type')
13306
13289
  name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
13307
13290
  exit_conditions: list[
13308
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
13291
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
13309
13292
  ] = Field(..., title='Exit Conditions')
13310
13293
  decision_guidelines: list[PydanticBaseModelStrippedNonemptyString1] = Field(
13311
13294
  ..., title='Decision Guidelines'
@@ -13637,7 +13620,7 @@ class ServiceInstance(BaseModel):
13637
13620
  agent_id: str = Field(
13638
13621
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13639
13622
  )
13640
- tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13623
+ tags: list[MongoCollectionsToolToolTag] = Field(
13641
13624
  ..., description='The tags of the service.', title='Tags'
13642
13625
  )
13643
13626
 
@@ -13690,7 +13673,7 @@ class SimulationUnitTestSet(BaseModel):
13690
13673
  description='Whether the unit test set has been deleted.',
13691
13674
  title='Is Deleted',
13692
13675
  )
13693
- tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13676
+ tags: list[MongoCollectionsToolToolTag] = Field(
13694
13677
  ..., description='The tags of the simulation unit test set.', title='Tags'
13695
13678
  )
13696
13679
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13727,7 +13710,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13727
13710
  description='Whether the unit test set has been deleted.',
13728
13711
  title='Is Deleted',
13729
13712
  )
13730
- tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13713
+ tags: list[MongoCollectionsToolToolTag] = Field(
13731
13714
  ..., description='The tags of the simulation unit test set.', title='Tags'
13732
13715
  )
13733
13716
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13855,7 +13838,7 @@ class ToolInstance(BaseModel):
13855
13838
  description='A list of encrypted environment variables that some versions of this tool uses.',
13856
13839
  title='Secret Envvars',
13857
13840
  )
13858
- tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13841
+ tags: list[MongoCollectionsToolToolTag] = Field(
13859
13842
  ..., description='The tags of the simulation persona.', title='Tags'
13860
13843
  )
13861
13844
 
@@ -13870,7 +13853,7 @@ class ToolVersionInstance(BaseModel):
13870
13853
  description='The ID of the tool that this version belongs to.',
13871
13854
  title='Tool Id',
13872
13855
  )
13873
- version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
13856
+ version: MongoCollectionsToolVersionToolVersionVersion = Field(
13874
13857
  ..., description='The version of the tool.'
13875
13858
  )
13876
13859
  required_envvars: list[str] = Field(
@@ -14150,7 +14133,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
14150
14133
 
14151
14134
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14152
14135
  dynamic_behavior_sets: list[
14153
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14136
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14154
14137
  ] = Field(
14155
14138
  ...,
14156
14139
  description='The retrieved dynamic behavior sets.',
@@ -14174,6 +14157,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14174
14157
  )
14175
14158
 
14176
14159
 
14160
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14161
+ dynamic_behavior_sets: list[
14162
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14163
+ ] = Field(
14164
+ ...,
14165
+ description='The retrieved dynamic behavior sets.',
14166
+ title='Dynamic Behavior Sets',
14167
+ )
14168
+
14169
+
14177
14170
  class MetricCreateMetricRequest(BaseModel):
14178
14171
  name: str = Field(
14179
14172
  ...,
@@ -14230,7 +14223,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
14230
14223
  description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
14231
14224
  min_length=1,
14232
14225
  )
14233
- user_dimensions: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14226
+ user_dimensions: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
14234
14227
  ...,
14235
14228
  description='User dimensions for the organization.',
14236
14229
  title='User Dimensions',
@@ -14400,17 +14393,6 @@ class OrganizationGetApiKeysResponse(BaseModel):
14400
14393
  )
14401
14394
 
14402
14395
 
14403
- class UserDimensions(
14404
- RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
14405
- ):
14406
- root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14407
- ...,
14408
- description='User dimensions for the organization. If not set or `null`, this field is not updated.',
14409
- min_length=1,
14410
- title='User Dimensions',
14411
- )
14412
-
14413
-
14414
14396
  class OrganizationModifyOrganizationRequest(BaseModel):
14415
14397
  title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14416
14398
  None,
@@ -14506,9 +14488,9 @@ class ServiceCreateServiceRequestVersionSet(BaseModel):
14506
14488
  description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14507
14489
  title='Service Hierarchical State Machine Version Number',
14508
14490
  )
14509
- llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
14510
- Field(..., title='Llm Model Preferences')
14511
- )
14491
+ llm_model_preferences: dict[
14492
+ str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
14493
+ ] = Field(..., title='Llm Model Preferences')
14512
14494
 
14513
14495
 
14514
14496
  class ServiceGetServicesResponse(BaseModel):
@@ -14600,7 +14582,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14600
14582
 
14601
14583
  class SimulationGetSimulationPersonasResponse(BaseModel):
14602
14584
  simulation_personas: list[
14603
- SimulationGetSimulationPersonasResponseSimulationPersonaInstance
14585
+ SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14604
14586
  ] = Field(
14605
14587
  ..., description='The list of simulation personas.', title='Simulation Personas'
14606
14588
  )
@@ -14622,7 +14604,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14622
14604
 
14623
14605
  class SimulationGetSimulationScenariosResponse(BaseModel):
14624
14606
  simulation_scenarios: list[
14625
- SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14607
+ SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14626
14608
  ] = Field(
14627
14609
  ...,
14628
14610
  description='The list of simulation scenarios.',
@@ -14668,6 +14650,24 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
14668
14650
  )
14669
14651
 
14670
14652
 
14653
+ class SimulationSearchSimulationPersonasResponse(BaseModel):
14654
+ simulation_personas: list[
14655
+ SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14656
+ ] = Field(
14657
+ ..., description='The list of simulation personas.', title='Simulation Personas'
14658
+ )
14659
+
14660
+
14661
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
14662
+ simulation_scenarios: list[
14663
+ SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14664
+ ] = Field(
14665
+ ...,
14666
+ description='The list of simulation scenarios.',
14667
+ title='Simulation Scenarios',
14668
+ )
14669
+
14670
+
14671
14671
  class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
14672
14672
  simulation_unit_test_sets: list[SimulationUnitTestSet] = Field(
14673
14673
  ...,
@@ -15001,7 +15001,7 @@ class Metric(BaseModel):
15001
15001
  additional_notes: str | None = Field(
15002
15002
  ..., description='Additional notes about the metric.', title='Additional Notes'
15003
15003
  )
15004
- tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15004
+ tags: list[MongoCollectionsToolToolTag] = Field(
15005
15005
  ..., description='The tags of the metric.', title='Tags'
15006
15006
  )
15007
15007
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15074,7 +15074,7 @@ class MetricInstance(BaseModel):
15074
15074
  additional_notes: str | None = Field(
15075
15075
  ..., description='Additional notes about the metric.', title='Additional Notes'
15076
15076
  )
15077
- tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15077
+ tags: list[MongoCollectionsToolToolTag] = Field(
15078
15078
  ..., description='The tags of the metric.', title='Tags'
15079
15079
  )
15080
15080
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15128,18 +15128,6 @@ class RoleInstance(BaseModel):
15128
15128
  description='The permission grants given to the role. Only returned if the `return_permission_grants` query parameter is True. ',
15129
15129
  title='Permission Grants',
15130
15130
  )
15131
- inherited_from: str | None = Field(
15132
- ...,
15133
- deprecated=True,
15134
- description='The ID of the role that this role inherits from. Only returned if the role inherits from another role.',
15135
- title='Inherited From',
15136
- )
15137
- is_base_role: bool = Field(
15138
- ...,
15139
- deprecated=True,
15140
- description='Whether this role is a base role. Base roles cannot inherit from other roles. One can only inherit from base roles.',
15141
- title='Is Base Role',
15142
- )
15143
15131
 
15144
15132
 
15145
15133
  class SimulationUnitTest(BaseModel):
@@ -15182,7 +15170,7 @@ class SimulationUnitTest(BaseModel):
15182
15170
  is_deleted: bool = Field(
15183
15171
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15184
15172
  )
15185
- tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15173
+ tags: list[MongoCollectionsToolToolTag] = Field(
15186
15174
  ..., description='The tags of the simulation persona.', title='Tags'
15187
15175
  )
15188
15176
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15227,7 +15215,7 @@ class SimulationUnitTestInstance(BaseModel):
15227
15215
  is_deleted: bool = Field(
15228
15216
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15229
15217
  )
15230
- tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15218
+ tags: list[MongoCollectionsToolToolTag] = Field(
15231
15219
  ..., description='The tags of the simulation persona.', title='Tags'
15232
15220
  )
15233
15221
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15329,7 +15317,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersion(BaseModel)
15329
15317
  )
15330
15318
  actions: list[
15331
15319
  Annotated[
15332
- DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction
15320
+ DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction
15333
15321
  | DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolCandidatesAction,
15334
15322
  Field(discriminator='type'),
15335
15323
  ]
@@ -15350,7 +15338,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequest(BaseModel):
15350
15338
  )
15351
15339
  actions: list[
15352
15340
  Annotated[
15353
- DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction
15341
+ DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction
15354
15342
  | DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidatesAction,
15355
15343
  Field(discriminator='type'),
15356
15344
  ]
@@ -15681,7 +15669,7 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
15681
15669
  tool_id: str = Field(
15682
15670
  ..., description='The ID of the tool that was invoked.', title='Tool Id'
15683
15671
  )
15684
- tool_version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
15672
+ tool_version: MongoCollectionsToolVersionToolVersionVersion = Field(
15685
15673
  ..., description='The version of the tool that was invoked.'
15686
15674
  )
15687
15675
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.99.0
3
+ Version: 0.100.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=fOBc3DBkFkXroPOMRTiJxzkTPgX9MrMlvui8UAyHCDY,139
5
+ amigo_sdk/__init__.py,sha256=fq-r8bt-Tn-NFFokw1V0R3GBP0Gu32UmHfPwT684kK8,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=N85ReSiut41HgVUydr8HTqB6DTJHRkhEZwJFIqheeYY,444818
13
+ amigo_sdk/generated/model.py,sha256=5zjiG6nqg4bBJqFeibpHERZ3xDR-nhajWw_GEpvwwvI,444067
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.99.0.dist-info/METADATA,sha256=3HF-35030s8F6r2XGXe9krwkvGtRzo7RzxG2ztjfnP4,8499
19
- amigo_sdk-0.99.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
- amigo_sdk-0.99.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
- amigo_sdk-0.99.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
- amigo_sdk-0.99.0.dist-info/RECORD,,
18
+ amigo_sdk-0.100.0.dist-info/METADATA,sha256=lwdX4SgO5CEs-Wr-5elUMNNN-QLSZsxvdzXJ6UPptgE,8500
19
+ amigo_sdk-0.100.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
+ amigo_sdk-0.100.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
+ amigo_sdk-0.100.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
+ amigo_sdk-0.100.0.dist-info/RECORD,,