amigo_sdk 0.35.0__py3-none-any.whl → 0.36.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.35.0"
1
+ __version__ = "0.36.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-01T22:56:24+00:00
3
+ # timestamp: 2025-10-02T02:40:25+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -11875,7 +11875,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11875
11875
  [], description='The IDs of the messages to retrieve.', title='Id'
11876
11876
  )
11877
11877
  message_type: Optional[List[MessageType]] = Field(
11878
- ['user-message', 'agent-message', 'external-event'],
11878
+ ['external-event', 'agent-message', 'user-message'],
11879
11879
  description='The type of messages to retrieve.',
11880
11880
  title='Message Type',
11881
11881
  )
@@ -13089,6 +13089,31 @@ class GetToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem(
13089
13089
  pass
13090
13090
 
13091
13091
 
13092
+ class SearchToolInvocationsParametersQueryQueryAgainstEnum(Enum):
13093
+ invocation_status_exception_message = 'invocation_status.exception_message'
13094
+ invocation_status_exception_type = 'invocation_status.exception_type'
13095
+ invocation_status_exception_stack_trace = 'invocation_status.exception_stack_trace'
13096
+ invocation_status_output = 'invocation_status.output'
13097
+
13098
+
13099
+ class SearchToolInvocationsParametersQueryToolIdItem(
13100
+ DynamicBehaviorSetCreateDynamicBehaviorSetRequestAppliedToService
13101
+ ):
13102
+ pass
13103
+
13104
+
13105
+ class SearchToolInvocationsParametersQueryConversationIdItem(
13106
+ DynamicBehaviorSetCreateDynamicBehaviorSetRequestAppliedToService
13107
+ ):
13108
+ pass
13109
+
13110
+
13111
+ class SearchToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem(
13112
+ DynamicBehaviorSetCreateDynamicBehaviorSetRequestAppliedToService
13113
+ ):
13114
+ pass
13115
+
13116
+
13092
13117
  class APIKey(BaseModel):
13093
13118
  field_id: str = Field(
13094
13119
  ..., alias='_id', description='The ID of the document.', title='Id'
@@ -15724,6 +15749,12 @@ class ToolGetToolInvocationsResponse(BaseModel):
15724
15749
  )
15725
15750
 
15726
15751
 
15752
+ class ToolSearchToolInvocationsResponse(BaseModel):
15753
+ tool_invocations: List[ToolInvocationInstance] = Field(
15754
+ ..., description='The list of tool invocations.', title='Tool Invocations'
15755
+ )
15756
+
15757
+
15727
15758
  class GetToolInvocationsParametersQuery(BaseModel):
15728
15759
  tool_id: Optional[List[GetToolInvocationsParametersQueryToolIdItem]] = Field(
15729
15760
  [], description='The ID of the tool to get invocations for.', title='Tool Id'
@@ -15779,6 +15810,46 @@ class GetToolInvocationsParametersQuery(BaseModel):
15779
15810
  )
15780
15811
 
15781
15812
 
15813
+ class SearchToolInvocationsParametersQuery(BaseModel):
15814
+ query: str = Field(..., description='The search query.', title='Query')
15815
+ query_against: List[SearchToolInvocationsParametersQueryQueryAgainstEnum] = Field(
15816
+ ...,
15817
+ description='The fields to query against. By default, all supported fields are queried against.',
15818
+ min_length=1,
15819
+ title='Query Against',
15820
+ )
15821
+ tool_id: Optional[List[SearchToolInvocationsParametersQueryToolIdItem]] = Field(
15822
+ [], description='The ID of the tool to get invocations for.', title='Tool Id'
15823
+ )
15824
+ invocation_source_type: Optional[
15825
+ List[
15826
+ Union[
15827
+ RegularConversationInvocationSourceInput,
15828
+ SimulationConversationInvocationSourceInput,
15829
+ ]
15830
+ ]
15831
+ ] = Field(
15832
+ [], description='The source of the invocation', title='Invocation Source Type'
15833
+ )
15834
+ conversation_id: Optional[
15835
+ List[SearchToolInvocationsParametersQueryConversationIdItem]
15836
+ ] = Field(
15837
+ [],
15838
+ description="The conversation ID associated with the invocation if it's of invocation source `regular-conversation`",
15839
+ title='Conversation Id',
15840
+ )
15841
+ simulation_unit_test_set_run_id: Optional[
15842
+ List[SearchToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
15843
+ ] = Field(
15844
+ [],
15845
+ description="The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation`",
15846
+ title='Simulation Unit Test Set Run Id',
15847
+ )
15848
+ succeeded: Optional[bool] = Field(
15849
+ None, description='Whether the invocation succeeded', title='Succeeded'
15850
+ )
15851
+
15852
+
15782
15853
  class SimulationUnitTest(BaseModel):
15783
15854
  field_id: str = Field(
15784
15855
  ..., alias='_id', description='The ID of the document.', title='Id'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.35.0
3
+ Version: 0.36.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=mfgCxw1nS6T4ulINXzGDvgjRvgObvgC6rgdUmxUcLPU,139
1
+ amigo_sdk/__init__.py,sha256=TB9w73-cvjBX_Mt1CSVwihd37z3iIjDbMXSELcaUxr0,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=4715BsBiHr4YG5fpu0tWGGEKx8JbchIR9j8lJaXP2eU,439359
9
+ amigo_sdk/generated/model.py,sha256=cr8-tGnCcFR5uODc0Y7-RTI9hd98vjW3eH3VB64b_9g,442041
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.35.0.dist-info/METADATA,sha256=Y5YYCVVbK6MCjW20YAVmEcwWaH05Q86mqBWCOwByjik,8350
15
- amigo_sdk-0.35.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.35.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.35.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.35.0.dist-info/RECORD,,
14
+ amigo_sdk-0.36.0.dist-info/METADATA,sha256=8Ef8FFXf8prskcl98v5gg6SjUpcZzZCN7O1bod3h3ZQ,8350
15
+ amigo_sdk-0.36.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.36.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.36.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.36.0.dist-info/RECORD,,