amigo_sdk 0.37.0__py3-none-any.whl → 0.39.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.37.0"
1
+ __version__ = "0.39.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-02T15:05:02+00:00
3
+ # timestamp: 2025-10-02T19:22:36+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -11308,6 +11308,37 @@ class ToolPublishToolVersionResponse(BaseModel):
11308
11308
  )
11309
11309
 
11310
11310
 
11311
+ class ToolTestToolRequest(BaseModel):
11312
+ inputs: List[Input] = Field(
11313
+ ...,
11314
+ description='The list of inputs for the tool invocation.',
11315
+ max_length=10,
11316
+ min_length=1,
11317
+ title='Inputs',
11318
+ )
11319
+ commit_branch: str = Field(
11320
+ ...,
11321
+ description='The branch in the tools repo whose tip will be tested.',
11322
+ title='Commit Branch',
11323
+ )
11324
+ project_path: str = Field(
11325
+ ...,
11326
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11327
+ pattern='^[-\\w\\d_/]+$',
11328
+ title='Project Path',
11329
+ )
11330
+ required_envvars: Dict[str, str] = Field(
11331
+ ...,
11332
+ description='The environment variables required for the tool to run.',
11333
+ title='Required Envvars',
11334
+ )
11335
+ required_secret_envvars: Dict[str, str] = Field(
11336
+ ...,
11337
+ description='The secret environment variables required for the tool to run.',
11338
+ title='Required Secret Envvars',
11339
+ )
11340
+
11341
+
11311
11342
  class UserCreateInvitedUserRequestLoginLink(RootModel[AnyUrl]):
11312
11343
  root: AnyUrl = Field(
11313
11344
  ...,
@@ -11839,7 +11870,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11839
11870
  [], description='The IDs of the messages to retrieve.', title='Id'
11840
11871
  )
11841
11872
  message_type: Optional[List[MessageType]] = Field(
11842
- ['agent-message', 'external-event', 'user-message'],
11873
+ ['user-message', 'agent-message', 'external-event'],
11843
11874
  description='The type of messages to retrieve.',
11844
11875
  title='Message Type',
11845
11876
  )
@@ -13466,6 +13497,14 @@ class InsertRequest(BaseModel):
13466
13497
  )
13467
13498
 
13468
13499
 
13500
+ class InvocationResult(
13501
+ RootModel[Union[SucceededInvocationResult, FailedInvocationResult]]
13502
+ ):
13503
+ root: Union[SucceededInvocationResult, FailedInvocationResult] = Field(
13504
+ ..., discriminator='succeeded'
13505
+ )
13506
+
13507
+
13469
13508
  class LLMConfigInput(BaseModel):
13470
13509
  llm_name: LLMType
13471
13510
  top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
@@ -14861,6 +14900,9 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
14861
14900
  deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
14862
14901
 
14863
14902
 
14903
+ ToolTestToolResponse = ToolInvokeToolVersionResponse
14904
+
14905
+
14864
14906
  class UserCreateInvitedUserRequest(BaseModel):
14865
14907
  first_name: str = Field(
14866
14908
  ..., description='The first name of the user.', min_length=1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.37.0
3
+ Version: 0.39.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=SGoql7Zo7Kzvbv-zVkpkOVTxvbUKaTB8UEX3KQAOxuY,139
1
+ amigo_sdk/__init__.py,sha256=dcdCKtAmOCw3HomypSa5kv6xxVMHbWNqYnc3-LuNNsg,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=x4oSGAErmmOcVwfxDqQ59Eze7uw38rhh4YQhkt6C66s,438683
9
+ amigo_sdk/generated/model.py,sha256=hdqSFpftgu1BarFn2vN0qodG0Trhxq9pJ65B3hlCHNs,439980
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.37.0.dist-info/METADATA,sha256=LOP9t58u1u921IQue8nwyMNpUYYWnDu1MoDcMNFO67M,8350
15
- amigo_sdk-0.37.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- amigo_sdk-0.37.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
- amigo_sdk-0.37.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
- amigo_sdk-0.37.0.dist-info/RECORD,,
14
+ amigo_sdk-0.39.0.dist-info/METADATA,sha256=p_sU9lKSgs932rExQCO7nxYQCQhRdubibFdEfy897bk,8350
15
+ amigo_sdk-0.39.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.39.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.39.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.39.0.dist-info/RECORD,,