amigo_sdk 0.37.0__py3-none-any.whl → 0.38.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.38.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-02T18:06:48+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -11308,6 +11308,38 @@ 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_hash: str = Field(
11320
+ ...,
11321
+ description='The commit hash of the tool to test.',
11322
+ pattern='^[a-f0-9]{40}$',
11323
+ title='Commit Hash',
11324
+ )
11325
+ project_path: str = Field(
11326
+ ...,
11327
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11328
+ pattern='^[-\\w\\d_/]+$',
11329
+ title='Project Path',
11330
+ )
11331
+ required_envvars: Dict[str, str] = Field(
11332
+ ...,
11333
+ description='The environment variables required for the tool to run.',
11334
+ title='Required Envvars',
11335
+ )
11336
+ required_secret_envvars: Dict[str, str] = Field(
11337
+ ...,
11338
+ description='The secret environment variables required for the tool to run.',
11339
+ title='Required Secret Envvars',
11340
+ )
11341
+
11342
+
11311
11343
  class UserCreateInvitedUserRequestLoginLink(RootModel[AnyUrl]):
11312
11344
  root: AnyUrl = Field(
11313
11345
  ...,
@@ -13466,6 +13498,14 @@ class InsertRequest(BaseModel):
13466
13498
  )
13467
13499
 
13468
13500
 
13501
+ class InvocationResult(
13502
+ RootModel[Union[SucceededInvocationResult, FailedInvocationResult]]
13503
+ ):
13504
+ root: Union[SucceededInvocationResult, FailedInvocationResult] = Field(
13505
+ ..., discriminator='succeeded'
13506
+ )
13507
+
13508
+
13469
13509
  class LLMConfigInput(BaseModel):
13470
13510
  llm_name: LLMType
13471
13511
  top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
@@ -14861,6 +14901,9 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
14861
14901
  deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
14862
14902
 
14863
14903
 
14904
+ ToolTestToolResponse = ToolInvokeToolVersionResponse
14905
+
14906
+
14864
14907
  class UserCreateInvitedUserRequest(BaseModel):
14865
14908
  first_name: str = Field(
14866
14909
  ..., 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.38.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=89EKxyTu_-s0FXnZoNSaB82ujJk5RRB6XO38laDVRoE,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=3QouG75JA8Q4x1VGmp6Pz_v_e-ju2mW4qviOR5fZsRg,439992
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.38.0.dist-info/METADATA,sha256=dyaANkUnsFIOMFDMs8zCQFIrrbFgJVcqwYq9w07WKYY,8350
15
+ amigo_sdk-0.38.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ amigo_sdk-0.38.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
17
+ amigo_sdk-0.38.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
18
+ amigo_sdk-0.38.0.dist-info/RECORD,,