amigo_sdk 0.47.0__py3-none-any.whl → 0.48.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.

Potentially problematic release.


This version of amigo_sdk might be problematic. Click here for more details.

amigo_sdk/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.47.0"
1
+ __version__ = "0.48.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-10-13T15:16:18+00:00
3
+ # timestamp: 2025-10-14T21:10:21+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -11,6 +11,20 @@ from typing import Any, Dict, List, Literal, Optional, Union
11
11
  from pydantic import AnyUrl, AwareDatetime, BaseModel, EmailStr, Field, RootModel
12
12
 
13
13
 
14
+ class ActionTooLongEvent(BaseModel):
15
+ type: Literal['action-too-long'] = Field('action-too-long', title='Type')
16
+ filler: str = Field(
17
+ ...,
18
+ description='An audio filler that can be played while waiting for the action to complete.',
19
+ title='Filler',
20
+ )
21
+ previously_started_event: Any = Field(
22
+ ...,
23
+ description='The previously started event that is taking too long.',
24
+ title='Previously Started Event',
25
+ )
26
+
27
+
14
28
  class AnnotationStateInputNextState(RootModel[List]):
15
29
  root: List = Field(..., max_length=2, min_length=2, title='Next State')
16
30
 
@@ -8489,6 +8503,12 @@ class NavigateStateMachineAnnotationStateAnnotationRetrievedEvent(BaseModel):
8489
8503
  annotation: str = Field(..., title='Annotation')
8490
8504
 
8491
8505
 
8506
+ class NavigateStateMachineDecisionStateDecisionStartedEvent(BaseModel):
8507
+ type: Literal['navigate-state-machine-decision-state-decision-started'] = Field(
8508
+ 'navigate-state-machine-decision-state-decision-started', title='Type'
8509
+ )
8510
+
8511
+
8492
8512
  class NavigateStateMachineDynamicBehaviorOverrideEvent(BaseModel):
8493
8513
  type: Literal['navigate-state-machine-dynamic-behavior-override'] = Field(
8494
8514
  'navigate-state-machine-dynamic-behavior-override', title='Type'
@@ -8791,11 +8811,6 @@ class RecallStateOutput(BaseModel):
8791
8811
  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.",
8792
8812
  title='Next State',
8793
8813
  )
8794
- audio_fillers: List[str] = Field(
8795
- ...,
8796
- description='A list of audio fillers to play in the audio mode if the memory retrieval is taking too long to process.',
8797
- title='Audio Fillers',
8798
- )
8799
8814
 
8800
8815
 
8801
8816
  class RecallStateTransitionLog(BaseModel):
@@ -11846,7 +11861,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11846
11861
  [], description='The IDs of the messages to retrieve.', title='Id'
11847
11862
  )
11848
11863
  message_type: Optional[List[MessageType]] = Field(
11849
- ['agent-message', 'external-event', 'user-message'],
11864
+ ['user-message', 'agent-message', 'external-event'],
11850
11865
  description='The type of messages to retrieve.',
11851
11866
  title='Message Type',
11852
11867
  )
@@ -13619,9 +13634,6 @@ class RecallStateInput(BaseModel):
13619
13634
  next_state: Union[StateOrRefName, RecallStateInputNextState] = Field(
13620
13635
  ..., title='Next State'
13621
13636
  )
13622
- audio_fillers: List[StrippedNonemptyString] = Field(
13623
- ..., max_length=5, title='Audio Fillers'
13624
- )
13625
13637
 
13626
13638
 
13627
13639
  class ReflectionStateOutput(BaseModel):
@@ -14986,6 +14998,7 @@ class CurrentAgentActionEvent(BaseModel):
14986
14998
  Union[
14987
14999
  NavigateStateMachineDynamicBehaviorOverrideEvent,
14988
15000
  NavigateStateMachineActionStateActionSelectedEvent,
15001
+ NavigateStateMachineDecisionStateDecisionStartedEvent,
14989
15002
  NavigateStateMachineExitConditionSelectedEvent,
14990
15003
  NavigateStateMachineRecallStateDynamicQueriesGeneratedEvent,
14991
15004
  NavigateStateMachineRecallStateStaticQueriesRetrievedEvent,
@@ -14996,12 +15009,14 @@ class CurrentAgentActionEvent(BaseModel):
14996
15009
  NavigateStateMachineStateTransitionedEvent,
14997
15010
  ToolCallStartedEvent,
14998
15011
  ToolCallEndedEvent,
15012
+ ActionTooLongEvent,
14999
15013
  ],
15000
15014
  Union[
15001
15015
  EngageUserDynamicBehaviorOverrideEvent,
15002
15016
  EngageUserMessageFragmentGeneratedEvent,
15003
15017
  ToolCallStartedEvent,
15004
15018
  ToolCallEndedEvent,
15019
+ ActionTooLongEvent,
15005
15020
  ],
15006
15021
  ] = Field(..., description='The type of action the agent is performing right now.')
15007
15022
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.47.0
3
+ Version: 0.48.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=UzRLaNdch8qezex3UeNpKF8BznXSGOAsbFWrp9oYeK4,139
1
+ amigo_sdk/__init__.py,sha256=-wHcUZHRj94f3MYihvirFAazV4WIdblcafK9UMYH4VI,139
2
2
  amigo_sdk/_retry_utils.py,sha256=kFjw9Wqye6MB5-B4rjLxsbSNcfYBIztcollIoncd1hY,2142
3
3
  amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
4
4
  amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=RkRyF5eAASd8fIOS6YvL9rLDvLAYWqHfpHSCR7jqvl4,4840
6
6
  amigo_sdk/http_client.py,sha256=v25UoUbXcMeHTnfJMcrl8RSSwCVkKUL1Jv-0HoXP1B4,13507
7
7
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
8
8
  amigo_sdk/sdk_client.py,sha256=Kr9M9o66pOLu0T2VDvqdYMmPZzgKJyTELu7BSPgGrYQ,6152
9
- amigo_sdk/generated/model.py,sha256=E91DK4ne4GJcS0ukSW_CjO-RBtRMoS8Jec_Kz13IoTY,437688
9
+ amigo_sdk/generated/model.py,sha256=Fx--Jppwef9DuuicPAVGJsU__YKxj5Sgb8Yeq2cPBNk,438201
10
10
  amigo_sdk/resources/conversation.py,sha256=5PkJOvLKqnriSS9K9hKw2VRPxRLTuABEbCyPy1fz1r0,14817
11
11
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
12
12
  amigo_sdk/resources/service.py,sha256=SiwEHXCQk4r1b_tGv47M08VuB7RALDHJQzWlpuD937g,1571
13
13
  amigo_sdk/resources/user.py,sha256=i4t5aVzBI37KwAtLKSDWTMwf4D4KQdSDoUiblFe1u7o,3529
14
- amigo_sdk-0.47.0.dist-info/METADATA,sha256=UdLWW_vqpaNpcSeiWTWzFvuaYQ20pAPSzKsXh37i950,8350
15
- amigo_sdk-0.47.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.47.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.47.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.47.0.dist-info/RECORD,,
14
+ amigo_sdk-0.48.0.dist-info/METADATA,sha256=BkPfEMJ8_kNX77tD4mFYhzuGbzDFfz4DxYR7V2ZhtMQ,8350
15
+ amigo_sdk-0.48.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.48.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.48.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.48.0.dist-info/RECORD,,