amigo_sdk 0.46.0__py3-none-any.whl → 0.47.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 +1 -1
- amigo_sdk/generated/model.py +51 -12
- {amigo_sdk-0.46.0.dist-info → amigo_sdk-0.47.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.46.0.dist-info → amigo_sdk-0.47.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.46.0.dist-info → amigo_sdk-0.47.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.46.0.dist-info → amigo_sdk-0.47.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.46.0.dist-info → amigo_sdk-0.47.0.dist-info}/licenses/LICENSE +0 -0
amigo_sdk/__init__.py
CHANGED
amigo_sdk/generated/model.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2025-10-
|
|
3
|
+
# timestamp: 2025-10-13T15:16:18+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -27,6 +27,7 @@ class AnnotationStateOutputNextState(RootModel[List]):
|
|
|
27
27
|
|
|
28
28
|
class AnnotationStateOutput(BaseModel):
|
|
29
29
|
type: Literal['annotation'] = Field(..., title='Type')
|
|
30
|
+
name: str = Field(..., description='The name of this state.', title='Name')
|
|
30
31
|
inner_thought: str = Field(
|
|
31
32
|
...,
|
|
32
33
|
description='The inner thought to add to the conversation.',
|
|
@@ -8774,6 +8775,7 @@ class RecallStateOutputNextState(RootModel[List]):
|
|
|
8774
8775
|
|
|
8775
8776
|
class RecallStateOutput(BaseModel):
|
|
8776
8777
|
type: Literal['recall'] = Field(..., title='Type')
|
|
8778
|
+
name: str = Field(..., description='The name of this state.', title='Name')
|
|
8777
8779
|
queries: Optional[List[str]] = Field(
|
|
8778
8780
|
...,
|
|
8779
8781
|
description='A list of queries to perform active memory extraction for. If this field is defined, `requested_information` must be `None`.',
|
|
@@ -8789,6 +8791,11 @@ class RecallStateOutput(BaseModel):
|
|
|
8789
8791
|
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.",
|
|
8790
8792
|
title='Next State',
|
|
8791
8793
|
)
|
|
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
|
+
)
|
|
8792
8799
|
|
|
8793
8800
|
|
|
8794
8801
|
class RecallStateTransitionLog(BaseModel):
|
|
@@ -9030,6 +9037,10 @@ class StateTransitionInvocationMetadata(BaseModel):
|
|
|
9030
9037
|
)
|
|
9031
9038
|
|
|
9032
9039
|
|
|
9040
|
+
class StrippedNonemptyString(RootModel[str]):
|
|
9041
|
+
root: str = Field(..., max_length=512, min_length=1, pattern='^[^/]+$')
|
|
9042
|
+
|
|
9043
|
+
|
|
9033
9044
|
class StrippedNonemptyStringWS(RootModel[str]):
|
|
9034
9045
|
root: str = Field(..., min_length=1, pattern='^[\\w\\s]+$')
|
|
9035
9046
|
|
|
@@ -9110,6 +9121,11 @@ class ToolCallSpecOutput(BaseModel):
|
|
|
9110
9121
|
description="Additional instruction to be supplied to the LLM in addition to the tool's description.",
|
|
9111
9122
|
title='Additional Instruction',
|
|
9112
9123
|
)
|
|
9124
|
+
audio_fillers: List[str] = Field(
|
|
9125
|
+
...,
|
|
9126
|
+
description='A list of audio fillers to play in audio mode if the tool is taking a long time.',
|
|
9127
|
+
title='Audio Fillers',
|
|
9128
|
+
)
|
|
9113
9129
|
|
|
9114
9130
|
|
|
9115
9131
|
class ToolCallStartedEvent(BaseModel):
|
|
@@ -11460,11 +11476,6 @@ class UserUpdateUserInfoRequest(BaseModel):
|
|
|
11460
11476
|
description='A list of additional context to update. If `null`, the context is not modified.',
|
|
11461
11477
|
title='Additional Context',
|
|
11462
11478
|
)
|
|
11463
|
-
enable_azure_devops_access: Optional[bool] = Field(
|
|
11464
|
-
None,
|
|
11465
|
-
description='Whether to enable Azure DevOps access for this user to enable tool development. If `null`, it is not modified.',
|
|
11466
|
-
title='Enable Azure Devops Access',
|
|
11467
|
-
)
|
|
11468
11479
|
|
|
11469
11480
|
|
|
11470
11481
|
class WebhookDestinationCreateWebhookDestinationRequest(BaseModel):
|
|
@@ -13199,6 +13210,7 @@ class APIKey(BaseModel):
|
|
|
13199
13210
|
|
|
13200
13211
|
class ActionStateOutput(BaseModel):
|
|
13201
13212
|
type: Literal['action'] = Field(..., title='Type')
|
|
13213
|
+
name: str = Field(..., description='The name of this state.', title='Name')
|
|
13202
13214
|
objective: str = Field(
|
|
13203
13215
|
...,
|
|
13204
13216
|
description='The objective that the `Agent` works towards when in this state.',
|
|
@@ -13293,6 +13305,7 @@ class ActionStateTransitionLog(BaseModel):
|
|
|
13293
13305
|
|
|
13294
13306
|
class AnnotationStateInput(BaseModel):
|
|
13295
13307
|
type: Literal['annotation'] = Field(..., title='Type')
|
|
13308
|
+
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
13296
13309
|
inner_thought: str = Field(..., min_length=1)
|
|
13297
13310
|
next_state: Union[StateOrRefName, AnnotationStateInputNextState] = Field(
|
|
13298
13311
|
..., title='Next State'
|
|
@@ -13315,6 +13328,7 @@ class CategoricalMetricValueInput(BaseModel):
|
|
|
13315
13328
|
|
|
13316
13329
|
class DecisionStateOutput(BaseModel):
|
|
13317
13330
|
type: Literal['decision'] = Field(..., title='Type')
|
|
13331
|
+
name: str = Field(..., description='The name of this state.', title='Name')
|
|
13318
13332
|
exit_conditions: List[ExitConditionOutput] = Field(
|
|
13319
13333
|
...,
|
|
13320
13334
|
description='A list of exit conditions for this state that describes under what condition would the session be allowed to transition to another state.',
|
|
@@ -13335,6 +13349,11 @@ class DecisionStateOutput(BaseModel):
|
|
|
13335
13349
|
description='A list of tool calls that the agent can make in this state.',
|
|
13336
13350
|
title='Tool Call Specs',
|
|
13337
13351
|
)
|
|
13352
|
+
audio_fillers: List[str] = Field(
|
|
13353
|
+
...,
|
|
13354
|
+
description='A list of audio fillers to play in the audio mode if the `select-next-state-for-decision-state` prompt is taking too long to process.',
|
|
13355
|
+
title='Audio Fillers',
|
|
13356
|
+
)
|
|
13338
13357
|
|
|
13339
13358
|
|
|
13340
13359
|
class DecisionStateTransitionLog(BaseModel):
|
|
@@ -13592,6 +13611,7 @@ class PermissionGrantOutput(BaseModel):
|
|
|
13592
13611
|
|
|
13593
13612
|
class RecallStateInput(BaseModel):
|
|
13594
13613
|
type: Literal['recall'] = Field(..., title='Type')
|
|
13614
|
+
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
13595
13615
|
queries: Optional[RecallStateInputQueries] = Field(..., title='Queries')
|
|
13596
13616
|
requested_information: Optional[
|
|
13597
13617
|
AmigoLibPydanticBaseModelStrippedNonemptyString1
|
|
@@ -13599,10 +13619,14 @@ class RecallStateInput(BaseModel):
|
|
|
13599
13619
|
next_state: Union[StateOrRefName, RecallStateInputNextState] = Field(
|
|
13600
13620
|
..., title='Next State'
|
|
13601
13621
|
)
|
|
13622
|
+
audio_fillers: List[StrippedNonemptyString] = Field(
|
|
13623
|
+
..., max_length=5, title='Audio Fillers'
|
|
13624
|
+
)
|
|
13602
13625
|
|
|
13603
13626
|
|
|
13604
13627
|
class ReflectionStateOutput(BaseModel):
|
|
13605
13628
|
type: Literal['reflection'] = Field(..., title='Type')
|
|
13629
|
+
name: str = Field(..., description='The name of this state.', title='Name')
|
|
13606
13630
|
problem: str = Field(
|
|
13607
13631
|
..., description='The problem to reflect upon.', title='Problem'
|
|
13608
13632
|
)
|
|
@@ -13621,6 +13645,11 @@ class ReflectionStateOutput(BaseModel):
|
|
|
13621
13645
|
description='A list of tool calls that the agent can make in this state.',
|
|
13622
13646
|
title='Tool Call Specs',
|
|
13623
13647
|
)
|
|
13648
|
+
audio_fillers: List[str] = Field(
|
|
13649
|
+
...,
|
|
13650
|
+
description='A list of audio fillers to play in audio mode if the reflection is taking too long to be generated.',
|
|
13651
|
+
title='Audio Fillers',
|
|
13652
|
+
)
|
|
13624
13653
|
|
|
13625
13654
|
|
|
13626
13655
|
class ReflectionStateTransitionLog(BaseModel):
|
|
@@ -13907,6 +13936,9 @@ class ToolCallSpecInput(BaseModel):
|
|
|
13907
13936
|
description="Additional instruction to be supplied to the LLM in addition to the tool's description.",
|
|
13908
13937
|
min_length=1,
|
|
13909
13938
|
)
|
|
13939
|
+
audio_fillers: List[StrippedNonemptyString] = Field(
|
|
13940
|
+
..., max_length=5, title='Audio Fillers'
|
|
13941
|
+
)
|
|
13910
13942
|
|
|
13911
13943
|
|
|
13912
13944
|
class ToolVersionInstance(BaseModel):
|
|
@@ -14864,6 +14896,7 @@ class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
|
14864
14896
|
|
|
14865
14897
|
class ActionStateInput(BaseModel):
|
|
14866
14898
|
type: Literal['action'] = Field(..., title='Type')
|
|
14899
|
+
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
14867
14900
|
objective: str = Field(..., min_length=1)
|
|
14868
14901
|
actions: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14869
14902
|
..., min_length=1, title='Actions'
|
|
@@ -14975,12 +15008,16 @@ class CurrentAgentActionEvent(BaseModel):
|
|
|
14975
15008
|
|
|
14976
15009
|
class DecisionStateInput(BaseModel):
|
|
14977
15010
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15011
|
+
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
14978
15012
|
exit_conditions: List[ExitConditionInput] = Field(..., title='Exit Conditions')
|
|
14979
15013
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14980
15014
|
..., title='Decision Guidelines'
|
|
14981
15015
|
)
|
|
14982
15016
|
objective: str = Field(..., min_length=1)
|
|
14983
15017
|
tool_call_specs: List[ToolCallSpecInput] = Field(..., title='Tool Call Specs')
|
|
15018
|
+
audio_fillers: List[StrippedNonemptyString] = Field(
|
|
15019
|
+
..., max_length=5, title='Audio Fillers'
|
|
15020
|
+
)
|
|
14984
15021
|
|
|
14985
15022
|
|
|
14986
15023
|
class IdentityInput(BaseModel):
|
|
@@ -15119,12 +15156,16 @@ class MetricToEvaluate(BaseModel):
|
|
|
15119
15156
|
|
|
15120
15157
|
class ReflectionStateInput(BaseModel):
|
|
15121
15158
|
type: Literal['reflection'] = Field(..., title='Type')
|
|
15159
|
+
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15122
15160
|
problem: str = Field(..., min_length=1)
|
|
15123
15161
|
word_limit: int = Field(..., gt=0, title='Word Limit')
|
|
15124
15162
|
next_state: Union[StateOrRefName, ReflectionStateInputNextState] = Field(
|
|
15125
15163
|
..., title='Next State'
|
|
15126
15164
|
)
|
|
15127
15165
|
tool_call_specs: List[ToolCallSpecInput] = Field(..., title='Tool Call Specs')
|
|
15166
|
+
audio_fillers: List[StrippedNonemptyString] = Field(
|
|
15167
|
+
..., max_length=5, title='Audio Fillers'
|
|
15168
|
+
)
|
|
15128
15169
|
|
|
15129
15170
|
|
|
15130
15171
|
class ServiceHierarchicalStateMachineInstance(BaseModel):
|
|
@@ -15152,15 +15193,14 @@ class ServiceHierarchicalStateMachineInstance(BaseModel):
|
|
|
15152
15193
|
description: str = Field(
|
|
15153
15194
|
..., description='A description of the state machine.', title='Description'
|
|
15154
15195
|
)
|
|
15155
|
-
states:
|
|
15156
|
-
str,
|
|
15196
|
+
states: List[
|
|
15157
15197
|
Union[
|
|
15158
15198
|
ActionStateOutput,
|
|
15159
15199
|
DecisionStateOutput,
|
|
15160
15200
|
RecallStateOutput,
|
|
15161
15201
|
AnnotationStateOutput,
|
|
15162
15202
|
ReflectionStateOutput,
|
|
15163
|
-
]
|
|
15203
|
+
]
|
|
15164
15204
|
] = Field(..., description='The states in this state machine.', title='States')
|
|
15165
15205
|
new_user_initial_state: str = Field(
|
|
15166
15206
|
...,
|
|
@@ -15456,15 +15496,14 @@ class OrganizationCreateServiceHierarchicalStateMachineVersionRequest(BaseModel)
|
|
|
15456
15496
|
description='A description of the service hierarchical state machine.',
|
|
15457
15497
|
min_length=1,
|
|
15458
15498
|
)
|
|
15459
|
-
states:
|
|
15460
|
-
str,
|
|
15499
|
+
states: List[
|
|
15461
15500
|
Union[
|
|
15462
15501
|
ActionStateInput,
|
|
15463
15502
|
DecisionStateInput,
|
|
15464
15503
|
RecallStateInput,
|
|
15465
15504
|
AnnotationStateInput,
|
|
15466
15505
|
ReflectionStateInput,
|
|
15467
|
-
]
|
|
15506
|
+
]
|
|
15468
15507
|
] = Field(
|
|
15469
15508
|
...,
|
|
15470
15509
|
description='The internal states in this service hierarchical state machine.',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=UzRLaNdch8qezex3UeNpKF8BznXSGOAsbFWrp9oYeK4,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=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=E91DK4ne4GJcS0ukSW_CjO-RBtRMoS8Jec_Kz13IoTY,437688
|
|
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.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|