amigo_sdk 0.66.0__py3-none-any.whl → 0.68.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.66.0"
1
+ __version__ = "0.68.0"
2
2
  from .sdk_client import AmigoClient, AsyncAmigoClient
3
3
 
4
4
  __all__ = ["__version__", "AmigoClient", "AsyncAmigoClient"]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: <stdin>
3
- # timestamp: 2025-12-01T20:34:59+00:00
3
+ # timestamp: 2025-12-03T10:03:06+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -33,12 +33,12 @@ class ActionTooLongEvent(BaseModel):
33
33
  )
34
34
 
35
35
 
36
- class AnnotationStateInputNextState(RootModel[List]):
37
- root: List = Field(..., max_length=2, min_length=2, title='Next State')
36
+ class AnnotationStateInputNextState(RootModel[List[Any]]):
37
+ root: List[Any] = Field(..., max_length=2, min_length=2, title='Next State')
38
38
 
39
39
 
40
- class AnnotationStateOutputNextState(RootModel[List]):
41
- root: List = Field(
40
+ class AnnotationStateOutputNextState(RootModel[List[Any]]):
41
+ root: List[Any] = Field(
42
42
  ...,
43
43
  description="The state to transition to after the inner thought message is generated. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
44
44
  max_length=2,
@@ -68,7 +68,7 @@ class AnnotationStateTransitionLog(BaseModel):
68
68
  description='Name of the previous state to transition from.',
69
69
  title='Previous State',
70
70
  )
71
- previous_service_hierarchical_state_machine_version_info: List = Field(
71
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
72
72
  ...,
73
73
  description='The identifier of the service hierarchical state machine that the previous state is in.',
74
74
  max_length=2,
@@ -78,7 +78,7 @@ class AnnotationStateTransitionLog(BaseModel):
78
78
  next_state: str = Field(
79
79
  ..., description='Name of the next state to transition to.', title='Next State'
80
80
  )
81
- next_service_hierarchical_state_machine_version_info: List = Field(
81
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
82
82
  ...,
83
83
  description='The identifier of the service hierarchical state machine that the next state is in.',
84
84
  max_length=2,
@@ -154,8 +154,8 @@ class ConversationByTimeMetricInput(BaseModel):
154
154
  )
155
155
 
156
156
 
157
- class ConversationByTimeMetricOutputConversationCount(RootModel[List]):
158
- root: List = Field(..., max_length=2, min_length=2)
157
+ class ConversationByTimeMetricOutputConversationCount(RootModel[List[Any]]):
158
+ root: List[Any] = Field(..., max_length=2, min_length=2)
159
159
 
160
160
 
161
161
  class ConversationByTimeMetricOutput(BaseModel):
@@ -224,7 +224,7 @@ class DynamicBehaviorInvocation(BaseModel):
224
224
  description='The IDs of the agent inner thoughts that led to the dynamic behavior invocation.',
225
225
  title='Agent Inner Thoughts Ids',
226
226
  )
227
- dynamic_behavior_set_version_info: List = Field(
227
+ dynamic_behavior_set_version_info: List[Any] = Field(
228
228
  ...,
229
229
  description='The ID and version number of the dynamic behavior set version that was activated.',
230
230
  max_length=2,
@@ -260,7 +260,7 @@ class EngageUserDynamicBehaviorOverrideEvent(BaseModel):
260
260
 
261
261
  class EngageUserInvocationMetadata(BaseModel):
262
262
  type: Literal['engage-user'] = Field('engage-user', title='Type')
263
- current_state_machine_and_version: List = Field(
263
+ current_state_machine_and_version: List[Any] = Field(
264
264
  ...,
265
265
  description='The ID and version of the state machine that is currently being executed.',
266
266
  max_length=2,
@@ -320,8 +320,8 @@ class EvaluationSourceType(Enum):
320
320
  simulation = 'simulation'
321
321
 
322
322
 
323
- class ExitConditionOutputNextState(RootModel[List]):
324
- root: List = Field(
323
+ class ExitConditionOutputNextState(RootModel[List[Any]]):
324
+ root: List[Any] = Field(
325
325
  ...,
326
326
  description="The state to transition to if this exit condition is met. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
327
327
  max_length=2,
@@ -442,7 +442,7 @@ class GenerateToolParamsDesignatedToolRetrievedEvent(BaseModel):
442
442
 
443
443
  class InCondition(BaseModel):
444
444
  type: Literal['In'] = Field('In', title='Type')
445
- values: List = Field(
445
+ values: List[Any] = Field(
446
446
  ...,
447
447
  description='A list of values, one of which the attribute must be equal to. All values must be of the same type as the type of this attribute in the permission.',
448
448
  title='Values',
@@ -483,7 +483,7 @@ class JumpbackStateTransitionLog(BaseModel):
483
483
  description='Name of the previous state to transition from.',
484
484
  title='Previous State',
485
485
  )
486
- previous_service_hierarchical_state_machine_version_info: List = Field(
486
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
487
487
  ...,
488
488
  description='The identifier of the service hierarchical state machine that the previous state is in.',
489
489
  max_length=2,
@@ -493,7 +493,7 @@ class JumpbackStateTransitionLog(BaseModel):
493
493
  next_state: str = Field(
494
494
  ..., description='Name of the next state to transition to.', title='Next State'
495
495
  )
496
- next_service_hierarchical_state_machine_version_info: List = Field(
496
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
497
497
  ...,
498
498
  description='The identifier of the service hierarchical state machine that the next state is in.',
499
499
  max_length=2,
@@ -610,7 +610,7 @@ class NavigateStateMachineExitConditionSelectedEvent(BaseModel):
610
610
  description='The exit condition that the agent has selected.',
611
611
  title='Exit Condition',
612
612
  )
613
- next_state_state_machine_version_info: List = Field(
613
+ next_state_state_machine_version_info: List[Any] = Field(
614
614
  ...,
615
615
  description='The state machine version info of the next state.',
616
616
  max_length=2,
@@ -700,7 +700,7 @@ class NavigateStateMachineStateTransitionedEvent(BaseModel):
700
700
  'navigate-state-machine-state-transitioned', title='Type'
701
701
  )
702
702
  prev_state: str = Field(..., description='The previous state.', title='Prev State')
703
- prev_state_state_machine_version_info: List = Field(
703
+ prev_state_state_machine_version_info: List[Any] = Field(
704
704
  ...,
705
705
  description='The state machine version info of the previous state.',
706
706
  max_length=2,
@@ -708,7 +708,7 @@ class NavigateStateMachineStateTransitionedEvent(BaseModel):
708
708
  title='Prev State State Machine Version Info',
709
709
  )
710
710
  next_state: str = Field(..., description='The next state.', title='Next State')
711
- next_state_state_machine_version_info: List = Field(
711
+ next_state_state_machine_version_info: List[Any] = Field(
712
712
  ...,
713
713
  description='The state machine version info of the next state.',
714
714
  max_length=2,
@@ -834,8 +834,8 @@ class RecallStateInputNextState(AnnotationStateInputNextState):
834
834
  pass
835
835
 
836
836
 
837
- class RecallStateOutputNextState(RootModel[List]):
838
- root: List = Field(
837
+ class RecallStateOutputNextState(RootModel[List[Any]]):
838
+ root: List[Any] = Field(
839
839
  ...,
840
840
  description="The state to transition to after the active memory extraction is performed. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
841
841
  max_length=2,
@@ -870,7 +870,7 @@ class RecallStateTransitionLog(BaseModel):
870
870
  description='Name of the previous state to transition from.',
871
871
  title='Previous State',
872
872
  )
873
- previous_service_hierarchical_state_machine_version_info: List = Field(
873
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
874
874
  ...,
875
875
  description='The identifier of the service hierarchical state machine that the previous state is in.',
876
876
  max_length=2,
@@ -880,7 +880,7 @@ class RecallStateTransitionLog(BaseModel):
880
880
  next_state: str = Field(
881
881
  ..., description='Name of the next state to transition to.', title='Next State'
882
882
  )
883
- next_service_hierarchical_state_machine_version_info: List = Field(
883
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
884
884
  ...,
885
885
  description='The identifier of the service hierarchical state machine that the next state is in.',
886
886
  max_length=2,
@@ -914,9 +914,9 @@ class ResultPersistence(Enum):
914
914
 
915
915
 
916
916
  class SelectDynamicBehaviorCompletedEventSelectedDynamicBehaviorSetVersionInfo(
917
- RootModel[List]
917
+ RootModel[List[Any]]
918
918
  ):
919
- root: List = Field(
919
+ root: List[Any] = Field(
920
920
  ...,
921
921
  max_length=2,
922
922
  min_length=2,
@@ -925,9 +925,9 @@ class SelectDynamicBehaviorCompletedEventSelectedDynamicBehaviorSetVersionInfo(
925
925
 
926
926
 
927
927
  class SelectDynamicBehaviorCompletedEventPreviousSelectedDynamicBehaviorSetVersionInfo(
928
- RootModel[List]
928
+ RootModel[List[Any]]
929
929
  ):
930
- root: List = Field(
930
+ root: List[Any] = Field(
931
931
  ...,
932
932
  max_length=2,
933
933
  min_length=2,
@@ -1064,7 +1064,7 @@ class StateOrRefName(RootModel[str]):
1064
1064
 
1065
1065
  class StateTransitionInvocationMetadata(BaseModel):
1066
1066
  type: Literal['state-transition'] = Field('state-transition', title='Type')
1067
- current_state_machine_and_version: List = Field(
1067
+ current_state_machine_and_version: List[Any] = Field(
1068
1068
  ...,
1069
1069
  description='The ID and version of the state machine that is currently being executed.',
1070
1070
  max_length=2,
@@ -1263,7 +1263,7 @@ class ToolCallStateOutput(BaseModel):
1263
1263
 
1264
1264
  class ToolCallStateInvocationMetadata(BaseModel):
1265
1265
  type: Literal['tool-call-state'] = Field('tool-call-state', title='Type')
1266
- current_state_machine_and_version: List = Field(
1266
+ current_state_machine_and_version: List[Any] = Field(
1267
1267
  ...,
1268
1268
  description='The ID and version of the state machine that is currently being executed.',
1269
1269
  max_length=2,
@@ -1283,7 +1283,7 @@ class ToolCallStateTransitionLog(BaseModel):
1283
1283
  description='Name of the previous state to transition from.',
1284
1284
  title='Previous State',
1285
1285
  )
1286
- previous_service_hierarchical_state_machine_version_info: List = Field(
1286
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
1287
1287
  ...,
1288
1288
  description='The identifier of the service hierarchical state machine that the previous state is in.',
1289
1289
  max_length=2,
@@ -1293,7 +1293,7 @@ class ToolCallStateTransitionLog(BaseModel):
1293
1293
  next_state: str = Field(
1294
1294
  ..., description='Name of the next state to transition to.', title='Next State'
1295
1295
  )
1296
- next_service_hierarchical_state_machine_version_info: List = Field(
1296
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
1297
1297
  ...,
1298
1298
  description='The identifier of the service hierarchical state machine that the next state is in.',
1299
1299
  max_length=2,
@@ -1396,8 +1396,8 @@ class TotalMessageCountMetricOutput(BaseModel):
1396
1396
  message_count: int = Field(..., title='Message Count')
1397
1397
 
1398
1398
 
1399
- class UnitTestRunSpecScenarioVersionInfo(RootModel[List]):
1400
- root: List = Field(
1399
+ class UnitTestRunSpecScenarioVersionInfo(RootModel[List[Any]]):
1400
+ root: List[Any] = Field(
1401
1401
  ...,
1402
1402
  description='The version of the scenario that the unit test runs on. This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission.',
1403
1403
  max_length=2,
@@ -1406,8 +1406,8 @@ class UnitTestRunSpecScenarioVersionInfo(RootModel[List]):
1406
1406
  )
1407
1407
 
1408
1408
 
1409
- class UnitTestRunSpecPersonaVersionInfo(RootModel[List]):
1410
- root: List = Field(
1409
+ class UnitTestRunSpecPersonaVersionInfo(RootModel[List[Any]]):
1410
+ root: List[Any] = Field(
1411
1411
  ...,
1412
1412
  description='The version of the persona that the unit test runs on. This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission.',
1413
1413
  max_length=2,
@@ -1658,16 +1658,16 @@ AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
1658
1658
  )
1659
1659
 
1660
1660
 
1661
+ class AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
1662
+ key: str = Field(..., title='Key')
1663
+ value: Optional[str] = Field(..., title='Value')
1664
+
1665
+
1661
1666
  AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
1662
1667
  AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1663
1668
  )
1664
1669
 
1665
1670
 
1666
- class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
1667
- key: str = Field(..., title='Key')
1668
- value: Optional[str] = Field(..., title='Value')
1669
-
1670
-
1671
1671
  class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
1672
1672
  BaseModel
1673
1673
  ):
@@ -1704,6 +1704,12 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
1704
1704
  )
1705
1705
 
1706
1706
 
1707
+ class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1708
+ major: int = Field(..., title='Major')
1709
+ minor: int = Field(..., title='Minor')
1710
+ patch: int = Field(..., title='Patch')
1711
+
1712
+
1707
1713
  class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1708
1714
  user_id: str = Field(..., description='The ID of the user.', title='User Id')
1709
1715
  user_org_id: str = Field(
@@ -1711,12 +1717,6 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1711
1717
  )
1712
1718
 
1713
1719
 
1714
- class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
1715
- major: int = Field(..., title='Major')
1716
- minor: int = Field(..., title='Minor')
1717
- patch: int = Field(..., title='Patch')
1718
-
1719
-
1720
1720
  class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
1721
1721
  enable_response_recommendation: Optional[bool] = Field(
1722
1722
  False,
@@ -1780,7 +1780,7 @@ class AdminSubmitSqlQueryResponse(BaseModel):
1780
1780
  description='The time taken to execute the query in milliseconds.',
1781
1781
  title='Execution Time Ms',
1782
1782
  )
1783
- result: List[List] = Field(
1783
+ result: List[List[Any]] = Field(
1784
1784
  ...,
1785
1785
  description='The result of the query as a list of rows, where each row is a list of column values.',
1786
1786
  title='Result',
@@ -1870,9 +1870,9 @@ class ConversationGenerateConversationStarterResponse(BaseModel):
1870
1870
 
1871
1871
 
1872
1872
  class ConversationGetInteractionInsightsResponseTriggeredDynamicBehaviorSetVersionInfo(
1873
- RootModel[List]
1873
+ RootModel[List[Any]]
1874
1874
  ):
1875
- root: List = Field(
1875
+ root: List[Any] = Field(
1876
1876
  ...,
1877
1877
  description='The ID and version number of the dynamic behavior set that was activated during this interaction.',
1878
1878
  max_length=2,
@@ -1955,20 +1955,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1955
1955
  )
1956
1956
 
1957
1957
 
1958
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1959
- BaseModel
1960
- ):
1961
- id: str = Field(..., title='Id')
1962
- name: str = Field(..., title='Name')
1963
- is_active: bool = Field(..., title='Is Active')
1964
- applied_to_services: List[str] = Field(..., title='Applied To Services')
1965
- tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1966
- created_at: AwareDatetime = Field(..., title='Created At')
1967
- creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1968
- updated_at: AwareDatetime = Field(..., title='Updated At')
1969
- updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1970
-
1971
-
1972
1958
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1973
1959
  applied_to_services_ids: List[str] = Field(
1974
1960
  ...,
@@ -1989,14 +1975,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1989
1975
  )
1990
1976
 
1991
1977
 
1992
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1993
- dynamic_behavior_sets: List[
1994
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1995
- ] = Field(
1996
- ...,
1997
- description='The retrieved dynamic behavior sets.',
1998
- title='Dynamic Behavior Sets',
1999
- )
1978
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1979
+ BaseModel
1980
+ ):
1981
+ id: str = Field(..., title='Id')
1982
+ name: str = Field(..., title='Name')
1983
+ is_active: bool = Field(..., title='Is Active')
1984
+ applied_to_services: List[str] = Field(..., title='Applied To Services')
1985
+ tags: Dict[str, Optional[str]] = Field(..., title='Tags')
1986
+ created_at: AwareDatetime = Field(..., title='Created At')
1987
+ creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1988
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1989
+ updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
2000
1990
 
2001
1991
 
2002
1992
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
@@ -11146,6 +11136,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
11146
11136
  )
11147
11137
 
11148
11138
 
11139
+ class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11140
+ unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11141
+ run_count: int = Field(
11142
+ ...,
11143
+ description='The number of times to run the unit test.',
11144
+ gt=0,
11145
+ title='Run Count',
11146
+ )
11147
+
11148
+
11149
11149
  class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
11150
11150
  simulation_unit_test_set_id: str = Field(
11151
11151
  ...,
@@ -11236,6 +11236,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11236
11236
  )
11237
11237
 
11238
11238
 
11239
+ class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11240
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11241
+ name: str = Field(
11242
+ ..., description='The name of the simulation scenario.', title='Name'
11243
+ )
11244
+ tags: Dict[str, Optional[str]] = Field(
11245
+ ..., description='The tags of the simulation scenario.', title='Tags'
11246
+ )
11247
+ is_deleted: bool = Field(
11248
+ ...,
11249
+ description='Whether the simulation scenario is deleted.',
11250
+ title='Is Deleted',
11251
+ )
11252
+ created_at: AwareDatetime = Field(
11253
+ ...,
11254
+ description='The timestamp when the simulation scenario was created.',
11255
+ title='Created At',
11256
+ )
11257
+ creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11258
+ Field(..., description='The user who created the simulation scenario.')
11259
+ )
11260
+ updated_at: AwareDatetime = Field(
11261
+ ...,
11262
+ description='The timestamp when the simulation scenario was last updated.',
11263
+ title='Updated At',
11264
+ )
11265
+ updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11266
+ Field(..., description='The user who last updated the simulation scenario.')
11267
+ )
11268
+
11269
+
11239
11270
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11240
11271
  presigned_url: str = Field(
11241
11272
  ...,
@@ -11358,34 +11389,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
11358
11389
  )
11359
11390
 
11360
11391
 
11361
- class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11362
- id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11363
- name: str = Field(
11364
- ..., description='The name of the simulation scenario.', title='Name'
11365
- )
11366
- tags: Dict[str, Optional[str]] = Field(
11367
- ..., description='The tags of the simulation scenario.', title='Tags'
11368
- )
11369
- is_deleted: bool = Field(
11370
- ...,
11371
- description='Whether the simulation scenario is deleted.',
11372
- title='Is Deleted',
11373
- )
11374
- created_at: AwareDatetime = Field(
11375
- ...,
11376
- description='The timestamp when the simulation scenario was created.',
11377
- title='Created At',
11378
- )
11379
- creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11380
- Field(..., description='The user who created the simulation scenario.')
11381
- )
11382
- updated_at: AwareDatetime = Field(
11392
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
11393
+ simulation_scenarios: List[
11394
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11395
+ ] = Field(
11383
11396
  ...,
11384
- description='The timestamp when the simulation scenario was last updated.',
11385
- title='Updated At',
11386
- )
11387
- updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
11388
- Field(..., description='The user who last updated the simulation scenario.')
11397
+ description='The list of simulation scenarios.',
11398
+ title='Simulation Scenarios',
11389
11399
  )
11390
11400
 
11391
11401
 
@@ -11446,13 +11456,39 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
11446
11456
  )
11447
11457
 
11448
11458
 
11449
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11450
- unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11451
- run_count: int = Field(
11452
- ...,
11453
- description='The number of times to run the unit test.',
11454
- gt=0,
11455
- title='Run Count',
11459
+ class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
11460
+ RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
11461
+ ):
11462
+ root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
11463
+ Field(
11464
+ ...,
11465
+ description='The unit test runs that are part of this set.',
11466
+ min_length=1,
11467
+ title='Unit Test Runs',
11468
+ )
11469
+ )
11470
+
11471
+
11472
+ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
11473
+ name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11474
+ None, description='The name of the simulation unit test set.'
11475
+ )
11476
+ description: Optional[
11477
+ Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
11478
+ ] = Field(
11479
+ {},
11480
+ description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
11481
+ title='Description',
11482
+ )
11483
+ unit_test_runs: Optional[
11484
+ SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
11485
+ ] = Field(
11486
+ None,
11487
+ description='The unit test runs that are part of this set.',
11488
+ title='Unit Test Runs',
11489
+ )
11490
+ tags: Optional[Dict[str, Optional[str]]] = Field(
11491
+ None, description='The tags of the simulation unit test set.', title='Tags'
11456
11492
  )
11457
11493
 
11458
11494
 
@@ -11489,22 +11525,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
11489
11525
  )
11490
11526
 
11491
11527
 
11492
- class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
11493
- regular = 'regular'
11494
- conversation_simulation = 'conversation-simulation'
11495
-
11496
-
11497
- class ToolInvokeToolVersionRequestInput(BaseModel):
11498
- input_parameters: Dict[str, Any] = Field(
11499
- ...,
11500
- description='The input parameters for the tool invocation.',
11501
- title='Input Parameters',
11502
- )
11503
- invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
11504
- ..., description='The mode of invocation.', title='Invocation Mode'
11505
- )
11506
-
11507
-
11508
11528
  class ToolModifyToolRequest(BaseModel):
11509
11529
  description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
11510
11530
  None, description='A description of this tool. Only updates if not-null.'
@@ -11547,34 +11567,19 @@ class ToolPublishToolVersionResponse(BaseModel):
11547
11567
  )
11548
11568
 
11549
11569
 
11550
- class ToolTestToolRequest(BaseModel):
11551
- inputs: List[ToolInvokeToolVersionRequestInput] = Field(
11552
- ...,
11553
- description='The list of inputs for the tool invocation.',
11554
- max_length=10,
11555
- min_length=1,
11556
- title='Inputs',
11557
- )
11558
- commit_branch: str = Field(
11559
- ...,
11560
- description='The branch in the tools repo whose tip will be tested.',
11561
- title='Commit Branch',
11562
- )
11563
- project_path: str = Field(
11564
- ...,
11565
- description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11566
- pattern='^[-\\w\\d_/]+$',
11567
- title='Project Path',
11568
- )
11569
- required_envvars: Dict[str, str] = Field(
11570
+ class ToolTestToolRequestInputInvocationMode(Enum):
11571
+ regular = 'regular'
11572
+ conversation_simulation = 'conversation-simulation'
11573
+
11574
+
11575
+ class ToolTestToolRequestInput(BaseModel):
11576
+ input_parameters: Dict[str, Any] = Field(
11570
11577
  ...,
11571
- description='The environment variables required for the tool to run.',
11572
- title='Required Envvars',
11578
+ description='The input parameters for the tool invocation.',
11579
+ title='Input Parameters',
11573
11580
  )
11574
- required_secret_envvars: Dict[str, str] = Field(
11575
- ...,
11576
- description='The secret environment variables required for the tool to run.',
11577
- title='Required Secret Envvars',
11581
+ invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
11582
+ ..., description='The mode of invocation.', title='Invocation Mode'
11578
11583
  )
11579
11584
 
11580
11585
 
@@ -11646,7 +11651,7 @@ class UserGetMemoriesResponse(BaseModel):
11646
11651
  )
11647
11652
 
11648
11653
 
11649
- class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11654
+ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11650
11655
  num_conversations: int = Field(
11651
11656
  ...,
11652
11657
  description='The number of conversations the user has created.',
@@ -12085,7 +12090,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
12085
12090
  [], description='The IDs of the messages to retrieve.', title='Id'
12086
12091
  )
12087
12092
  message_type: Optional[List[MessageType]] = Field(
12088
- ['agent-message', 'user-message', 'external-event'],
12093
+ ['user-message', 'external-event', 'agent-message'],
12089
12094
  description='The type of messages to retrieve.',
12090
12095
  title='Message Type',
12091
12096
  )
@@ -13530,7 +13535,7 @@ class ActionStateTransitionLog(BaseModel):
13530
13535
  description='Name of the previous state to transition from.',
13531
13536
  title='Previous State',
13532
13537
  )
13533
- previous_service_hierarchical_state_machine_version_info: List = Field(
13538
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
13534
13539
  ...,
13535
13540
  description='The identifier of the service hierarchical state machine that the previous state is in.',
13536
13541
  max_length=2,
@@ -13540,7 +13545,7 @@ class ActionStateTransitionLog(BaseModel):
13540
13545
  next_state: str = Field(
13541
13546
  ..., description='Name of the next state to transition to.', title='Next State'
13542
13547
  )
13543
- next_service_hierarchical_state_machine_version_info: List = Field(
13548
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
13544
13549
  ...,
13545
13550
  description='The identifier of the service hierarchical state machine that the next state is in.',
13546
13551
  max_length=2,
@@ -13628,7 +13633,7 @@ class DecisionStateTransitionLog(BaseModel):
13628
13633
  description='Name of the previous state to transition from.',
13629
13634
  title='Previous State',
13630
13635
  )
13631
- previous_service_hierarchical_state_machine_version_info: List = Field(
13636
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
13632
13637
  ...,
13633
13638
  description='The identifier of the service hierarchical state machine that the previous state is in.',
13634
13639
  max_length=2,
@@ -13638,7 +13643,7 @@ class DecisionStateTransitionLog(BaseModel):
13638
13643
  next_state: str = Field(
13639
13644
  ..., description='Name of the next state to transition to.', title='Next State'
13640
13645
  )
13641
- next_service_hierarchical_state_machine_version_info: List = Field(
13646
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
13642
13647
  ...,
13643
13648
  description='The identifier of the service hierarchical state machine that the next state is in.',
13644
13649
  max_length=2,
@@ -13811,7 +13816,7 @@ class ReflectionStateTransitionLog(BaseModel):
13811
13816
  description='Name of the previous state to transition from.',
13812
13817
  title='Previous State',
13813
13818
  )
13814
- previous_service_hierarchical_state_machine_version_info: List = Field(
13819
+ previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
13815
13820
  ...,
13816
13821
  description='The identifier of the service hierarchical state machine that the previous state is in.',
13817
13822
  max_length=2,
@@ -13821,7 +13826,7 @@ class ReflectionStateTransitionLog(BaseModel):
13821
13826
  next_state: str = Field(
13822
13827
  ..., description='Name of the next state to transition to.', title='Next State'
13823
13828
  )
13824
- next_service_hierarchical_state_machine_version_info: List = Field(
13829
+ next_service_hierarchical_state_machine_version_info: List[Any] = Field(
13825
13830
  ...,
13826
13831
  description='The identifier of the service hierarchical state machine that the next state is in.',
13827
13832
  max_length=2,
@@ -13891,9 +13896,9 @@ class ServiceInstance(BaseModel):
13891
13896
  agent_id: str = Field(
13892
13897
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13893
13898
  )
13894
- tags: List[
13895
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
13896
- ] = Field(..., description='The tags of the service.', title='Tags')
13899
+ tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13900
+ ..., description='The tags of the service.', title='Tags'
13901
+ )
13897
13902
 
13898
13903
 
13899
13904
  class SimulationConversationInvocationSource(BaseModel):
@@ -13944,9 +13949,7 @@ class SimulationUnitTestSet(BaseModel):
13944
13949
  description='Whether the unit test set has been deleted.',
13945
13950
  title='Is Deleted',
13946
13951
  )
13947
- tags: List[
13948
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
13949
- ] = Field(
13952
+ tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13950
13953
  ..., description='The tags of the simulation unit test set.', title='Tags'
13951
13954
  )
13952
13955
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13985,9 +13988,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13985
13988
  description='Whether the unit test set has been deleted.',
13986
13989
  title='Is Deleted',
13987
13990
  )
13988
- tags: List[
13989
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
13990
- ] = Field(
13991
+ tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13991
13992
  ..., description='The tags of the simulation unit test set.', title='Tags'
13992
13993
  )
13993
13994
  creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -14103,9 +14104,9 @@ class ToolInstance(BaseModel):
14103
14104
  description='A list of encrypted environment variables that some versions of this tool uses.',
14104
14105
  title='Secret Envvars',
14105
14106
  )
14106
- tags: List[
14107
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
14108
- ] = Field(..., description='The tags of the simulation persona.', title='Tags')
14107
+ tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
14108
+ ..., description='The tags of the simulation persona.', title='Tags'
14109
+ )
14109
14110
 
14110
14111
 
14111
14112
  class ToolVersionInstance(BaseModel):
@@ -14118,7 +14119,7 @@ class ToolVersionInstance(BaseModel):
14118
14119
  description='The ID of the tool that this version belongs to.',
14119
14120
  title='Tool Id',
14120
14121
  )
14121
- version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
14122
+ version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
14122
14123
  ..., description='The version of the tool.'
14123
14124
  )
14124
14125
  required_envvars: List[str] = Field(
@@ -14199,14 +14200,14 @@ class VersionSetInfo(BaseModel):
14199
14200
  description='The name of the version set. If the value is `unknown`, it means the conversation was created before this field was introduced and the version set name cannot be retroactively determined.',
14200
14201
  title='Name',
14201
14202
  )
14202
- agent_version_info: List = Field(
14203
+ agent_version_info: List[Any] = Field(
14203
14204
  ...,
14204
14205
  description='The ID of the agent and version number used in this conversation.',
14205
14206
  max_length=2,
14206
14207
  min_length=2,
14207
14208
  title='Agent Version Info',
14208
14209
  )
14209
- service_hierarchical_state_machine_version_info: List = Field(
14210
+ service_hierarchical_state_machine_version_info: List[Any] = Field(
14210
14211
  ...,
14211
14212
  description='The ID of the state machine and version number used in this conversation.',
14212
14213
  max_length=2,
@@ -14434,7 +14435,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
14434
14435
 
14435
14436
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14436
14437
  dynamic_behavior_sets: List[
14437
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14438
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14438
14439
  ] = Field(
14439
14440
  ...,
14440
14441
  description='The retrieved dynamic behavior sets.',
@@ -14458,6 +14459,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14458
14459
  )
14459
14460
 
14460
14461
 
14462
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14463
+ dynamic_behavior_sets: List[
14464
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14465
+ ] = Field(
14466
+ ...,
14467
+ description='The retrieved dynamic behavior sets.',
14468
+ title='Dynamic Behavior Sets',
14469
+ )
14470
+
14471
+
14461
14472
  class MetricCreateMetricRequest(BaseModel):
14462
14473
  name: str = Field(
14463
14474
  ...,
@@ -14840,7 +14851,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14840
14851
  ..., description='The description of the simulation unit test set.'
14841
14852
  )
14842
14853
  unit_test_runs: List[
14843
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
14854
+ SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
14844
14855
  ] = Field(
14845
14856
  ...,
14846
14857
  description='The unit test runs that are part of this set.',
@@ -14878,7 +14889,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14878
14889
 
14879
14890
  class SimulationGetSimulationScenariosResponse(BaseModel):
14880
14891
  simulation_scenarios: List[
14881
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14892
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14882
14893
  ] = Field(
14883
14894
  ...,
14884
14895
  description='The list of simulation scenarios.',
@@ -14934,16 +14945,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
14934
14945
  )
14935
14946
 
14936
14947
 
14937
- class SimulationSearchSimulationScenariosResponse(BaseModel):
14938
- simulation_scenarios: List[
14939
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14940
- ] = Field(
14941
- ...,
14942
- description='The list of simulation scenarios.',
14943
- title='Simulation Scenarios',
14944
- )
14945
-
14946
-
14947
14948
  class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
14948
14949
  simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
14949
14950
  ...,
@@ -14957,42 +14958,6 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
14957
14958
  )
14958
14959
 
14959
14960
 
14960
- class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
14961
- RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
14962
- ):
14963
- root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
14964
- Field(
14965
- ...,
14966
- description='The unit test runs that are part of this set.',
14967
- min_length=1,
14968
- title='Unit Test Runs',
14969
- )
14970
- )
14971
-
14972
-
14973
- class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
14974
- name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
14975
- None, description='The name of the simulation unit test set.'
14976
- )
14977
- description: Optional[
14978
- Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
14979
- ] = Field(
14980
- {},
14981
- description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
14982
- title='Description',
14983
- )
14984
- unit_test_runs: Optional[
14985
- SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
14986
- ] = Field(
14987
- None,
14988
- description='The unit test runs that are part of this set.',
14989
- title='Unit Test Runs',
14990
- )
14991
- tags: Optional[Dict[str, Optional[str]]] = Field(
14992
- None, description='The tags of the simulation unit test set.', title='Tags'
14993
- )
14994
-
14995
-
14996
14961
  class ToolGetToolVersionsResponse(BaseModel):
14997
14962
  tool_versions: List[ToolVersionInstance] = Field(
14998
14963
  ...,
@@ -15034,7 +14999,7 @@ class ToolGetToolsResponse(BaseModel):
15034
14999
 
15035
15000
 
15036
15001
  class ToolInvokeToolVersionRequest(BaseModel):
15037
- inputs: List[ToolInvokeToolVersionRequestInput] = Field(
15002
+ inputs: List[ToolTestToolRequestInput] = Field(
15038
15003
  ...,
15039
15004
  description='The list of inputs for the tool invocation.',
15040
15005
  max_length=10,
@@ -15055,6 +15020,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
15055
15020
  deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
15056
15021
 
15057
15022
 
15023
+ class ToolTestToolRequest(BaseModel):
15024
+ inputs: List[ToolTestToolRequestInput] = Field(
15025
+ ...,
15026
+ description='The list of inputs for the tool invocation.',
15027
+ max_length=10,
15028
+ min_length=1,
15029
+ title='Inputs',
15030
+ )
15031
+ commit_branch: str = Field(
15032
+ ...,
15033
+ description='The branch in the tools repo whose tip will be tested.',
15034
+ title='Commit Branch',
15035
+ )
15036
+ project_path: str = Field(
15037
+ ...,
15038
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
15039
+ pattern='^[-\\w\\d_/]+$',
15040
+ title='Project Path',
15041
+ )
15042
+ required_envvars: Dict[str, str] = Field(
15043
+ ...,
15044
+ description='The environment variables required for the tool to run.',
15045
+ title='Required Envvars',
15046
+ )
15047
+ required_secret_envvars: Dict[str, str] = Field(
15048
+ ...,
15049
+ description='The secret environment variables required for the tool to run.',
15050
+ title='Required Secret Envvars',
15051
+ )
15052
+
15053
+
15058
15054
  ToolTestToolResponse = ToolInvokeToolVersionResponse
15059
15055
 
15060
15056
 
@@ -15111,7 +15107,7 @@ class UserGetUsersResponseUserInstance(BaseModel):
15111
15107
  ..., description='The last name of the user.', title='Last Name'
15112
15108
  )
15113
15109
  email: str = Field(..., description='Email of the user.', title='Email')
15114
- user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
15110
+ user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
15115
15111
  ..., description="Statistics about the user's usage of the Amigo platform."
15116
15112
  )
15117
15113
  role: str = Field(..., description='The ID of the role of the user.', title='Role')
@@ -15371,9 +15367,9 @@ class Metric(BaseModel):
15371
15367
  additional_notes: Optional[str] = Field(
15372
15368
  ..., description='Additional notes about the metric.', title='Additional Notes'
15373
15369
  )
15374
- tags: List[
15375
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15376
- ] = Field(..., description='The tags of the metric.', title='Tags')
15370
+ tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15371
+ ..., description='The tags of the metric.', title='Tags'
15372
+ )
15377
15373
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
15378
15374
  ..., description='The user who created the metric.'
15379
15375
  )
@@ -15441,9 +15437,9 @@ class MetricInstance(BaseModel):
15441
15437
  additional_notes: Optional[str] = Field(
15442
15438
  ..., description='Additional notes about the metric.', title='Additional Notes'
15443
15439
  )
15444
- tags: List[
15445
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15446
- ] = Field(..., description='The tags of the metric.', title='Tags')
15440
+ tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15441
+ ..., description='The tags of the metric.', title='Tags'
15442
+ )
15447
15443
  creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
15448
15444
  ..., description='The user who created the metric.'
15449
15445
  )
@@ -15581,7 +15577,7 @@ class ServiceHierarchicalStateMachineInstance(BaseModel):
15581
15577
  description='The state the user will be in when the session ends. This must be an action state.',
15582
15578
  title='Terminal State',
15583
15579
  )
15584
- references: Dict[str, List] = Field(
15580
+ references: Dict[str, List[Any]] = Field(
15585
15581
  ...,
15586
15582
  description="A dictionary of other service hierarchical state machine versions that this references to. This field is a map of the reference name to the machine's ID and its version number.",
15587
15583
  title='References',
@@ -15643,9 +15639,9 @@ class SimulationUnitTest(BaseModel):
15643
15639
  is_deleted: bool = Field(
15644
15640
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15645
15641
  )
15646
- tags: List[
15647
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15648
- ] = Field(..., description='The tags of the simulation persona.', title='Tags')
15642
+ tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15643
+ ..., description='The tags of the simulation persona.', title='Tags'
15644
+ )
15649
15645
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15650
15646
  updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15651
15647
 
@@ -15688,9 +15684,9 @@ class SimulationUnitTestInstance(BaseModel):
15688
15684
  is_deleted: bool = Field(
15689
15685
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15690
15686
  )
15691
- tags: List[
15692
- AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
15693
- ] = Field(..., description='The tags of the simulation persona.', title='Tags')
15687
+ tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15688
+ ..., description='The tags of the simulation persona.', title='Tags'
15689
+ )
15694
15690
  creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15695
15691
  updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
15696
15692
 
@@ -15702,14 +15698,14 @@ class UnitTestRunSpec(BaseModel):
15702
15698
  run_count: int = Field(
15703
15699
  ..., description='The number of times to run the unit test.', title='Run Count'
15704
15700
  )
15705
- service_hierarchical_state_machine_version_info: List = Field(
15701
+ service_hierarchical_state_machine_version_info: List[Any] = Field(
15706
15702
  ...,
15707
15703
  description='The version of the service hierarchical state machine that the unit test runs on.',
15708
15704
  max_length=2,
15709
15705
  min_length=2,
15710
15706
  title='Service Hierarchical State Machine Version Info',
15711
15707
  )
15712
- agent_version_info: List = Field(
15708
+ agent_version_info: List[Any] = Field(
15713
15709
  ...,
15714
15710
  description='The version of the agent that the unit test runs on.',
15715
15711
  max_length=2,
@@ -15916,7 +15912,7 @@ class OrganizationCreateServiceHierarchicalStateMachineVersionRequest(BaseModel)
15916
15912
  description='The state the user will be in when the session ends. This must be an action state, and must be an internal state.',
15917
15913
  pattern='^[A-Za-z0-9_]+$',
15918
15914
  )
15919
- references: Dict[str, List] = Field(
15915
+ references: Dict[str, List[Any]] = Field(
15920
15916
  ...,
15921
15917
  description="A dictionary of other service hierarchical state machines that this references to. This field is a map of the reference name to the machine's ID and its version number.",
15922
15918
  title='References',
@@ -16186,7 +16182,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
16186
16182
  )
16187
16183
 
16188
16184
 
16189
- class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
16185
+ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
16190
16186
  id: str = Field(..., description='The ID of the tool invocation.', title='Id')
16191
16187
  org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
16192
16188
  created_at: Optional[AwareDatetime] = Field(None, title='Created At')
@@ -16208,19 +16204,11 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
16208
16204
  tool_id: str = Field(
16209
16205
  ..., description='The ID of the tool that was invoked.', title='Tool Id'
16210
16206
  )
16211
- tool_version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
16207
+ tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
16212
16208
  ..., description='The version of the tool that was invoked.'
16213
16209
  )
16214
16210
 
16215
16211
 
16216
- class ToolSearchToolInvocationsResponse(BaseModel):
16217
- tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
16218
- Field(
16219
- ..., description='The list of tool invocations.', title='Tool Invocations'
16220
- )
16221
- )
16222
-
16223
-
16224
16212
  class UserGetUsersResponse(BaseModel):
16225
16213
  users: List[UserGetUsersResponseUserInstance] = Field(
16226
16214
  ..., description='Users in this organization.', title='Users'
@@ -16334,7 +16322,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
16334
16322
 
16335
16323
 
16336
16324
  class ToolGetToolInvocationsResponse(BaseModel):
16337
- tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
16325
+ tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
16338
16326
  Field(
16339
16327
  ..., description='The list of tool invocations.', title='Tool Invocations'
16340
16328
  )
@@ -16349,3 +16337,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
16349
16337
  description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
16350
16338
  title='Continuation Token',
16351
16339
  )
16340
+
16341
+
16342
+ class ToolSearchToolInvocationsResponse(BaseModel):
16343
+ tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
16344
+ Field(
16345
+ ..., description='The list of tool invocations.', title='Tool Invocations'
16346
+ )
16347
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.66.0
3
+ Version: 0.68.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=B91xOQqCzn9p1TB346KsbXTdi_G14zmDqi72vgtJXjU,139
1
+ amigo_sdk/__init__.py,sha256=wYrr7-kI3UXVygIXUsFCktVIZI4zZYVos0z-lkZBmgk,139
2
2
  amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
3
3
  amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
4
4
  amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
6
6
  amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
7
7
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
8
8
  amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
9
- amigo_sdk/generated/model.py,sha256=fix6W7Q3p1X22RKZp21i9zeIv77dSi5Ll8VIrfQx6Hk,456995
9
+ amigo_sdk/generated/model.py,sha256=AC2gU43CVs61eLPn6vwaoy_2qS4h9IHRTztw69QOCMM,457134
10
10
  amigo_sdk/resources/conversation.py,sha256=u4kOx5LPbhX92L41UnmPmaF9TkQA5bGev8N00dMoP9I,14805
11
11
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
12
12
  amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
13
13
  amigo_sdk/resources/user.py,sha256=zikijiuGXgmkBVtrldor6XQGQK6jWXonDvNFuQs6XK4,3472
14
- amigo_sdk-0.66.0.dist-info/METADATA,sha256=cx7oIHCFNQrI47OCtPrdvRu6pWIp1aM-YWotUdDftYk,8499
15
- amigo_sdk-0.66.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
- amigo_sdk-0.66.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.66.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.66.0.dist-info/RECORD,,
14
+ amigo_sdk-0.68.0.dist-info/METADATA,sha256=DEJu0boyDaXm4W5LMyXWhlUsZHKWZPbih_hCauyiZC0,8499
15
+ amigo_sdk-0.68.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
16
+ amigo_sdk-0.68.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.68.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.68.0.dist-info/RECORD,,