unique_sdk 0.10.5__py3-none-any.whl → 0.10.7__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 unique_sdk might be problematic. Click here for more details.
- unique_sdk/api_resources/_content.py +4 -0
- unique_sdk/api_resources/_space.py +2 -0
- {unique_sdk-0.10.5.dist-info → unique_sdk-0.10.7.dist-info}/METADATA +7 -1
- {unique_sdk-0.10.5.dist-info → unique_sdk-0.10.7.dist-info}/RECORD +6 -6
- {unique_sdk-0.10.5.dist-info → unique_sdk-0.10.7.dist-info}/LICENSE +0 -0
- {unique_sdk-0.10.5.dist-info → unique_sdk-0.10.7.dist-info}/WHEEL +0 -0
|
@@ -301,6 +301,8 @@ class Content(APIResource["Content"]):
|
|
|
301
301
|
"""
|
|
302
302
|
UpsertsContent
|
|
303
303
|
"""
|
|
304
|
+
if "input" in params:
|
|
305
|
+
params["input"]["metadata"] = params["input"].get("metadata") or {}
|
|
304
306
|
return cast(
|
|
305
307
|
"Content",
|
|
306
308
|
cls._static_request(
|
|
@@ -322,6 +324,8 @@ class Content(APIResource["Content"]):
|
|
|
322
324
|
"""
|
|
323
325
|
UpsertsContent
|
|
324
326
|
"""
|
|
327
|
+
if "input" in params:
|
|
328
|
+
params["input"]["metadata"] = params["input"].get("metadata") or {}
|
|
325
329
|
return cast(
|
|
326
330
|
"Content",
|
|
327
331
|
await cls._static_request_async(
|
|
@@ -84,6 +84,7 @@ class Space(APIResource["Space"]):
|
|
|
84
84
|
"""
|
|
85
85
|
Send a message in a space.
|
|
86
86
|
"""
|
|
87
|
+
params["toolChoices"] = params.get("toolChoices") or []
|
|
87
88
|
return cast(
|
|
88
89
|
"Space.Message",
|
|
89
90
|
cls._static_request(
|
|
@@ -105,6 +106,7 @@ class Space(APIResource["Space"]):
|
|
|
105
106
|
"""
|
|
106
107
|
Async send a message in a space.
|
|
107
108
|
"""
|
|
109
|
+
params["toolChoices"] = params.get("toolChoices") or []
|
|
108
110
|
return cast(
|
|
109
111
|
"Space.Message",
|
|
110
112
|
await cls._static_request_async(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_sdk
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.7
|
|
4
4
|
Summary:
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Martin Fadler
|
|
@@ -1464,6 +1464,12 @@ All notable changes to this project will be documented in this file.
|
|
|
1464
1464
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
1465
1465
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
1466
1466
|
|
|
1467
|
+
## [0.10.7] - 2025-08-13
|
|
1468
|
+
- Make metadata optional when uploading a file.
|
|
1469
|
+
|
|
1470
|
+
## [0.10.6] - 2025-08-06
|
|
1471
|
+
- Make tools optional for running an agent.
|
|
1472
|
+
|
|
1467
1473
|
## [0.10.5] - 2025-08-06
|
|
1468
1474
|
- Get paginated files and folders info.
|
|
1469
1475
|
|
|
@@ -16,7 +16,7 @@ unique_sdk/_webhook.py,sha256=GYxbUibQN_W4XlNTHaMIksT9FQJk4LJmlKcxOu3jqiU,2855
|
|
|
16
16
|
unique_sdk/api_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
unique_sdk/api_resources/_acronyms.py,sha256=GIU1XH1flGWQYcpsFqTYwg4ioIGxVmb15tux84nmhEg,891
|
|
18
18
|
unique_sdk/api_resources/_chat_completion.py,sha256=ILCAffxkbkfh2iV9L4KKnfe80gZmT9pWfkNmf3mq68U,2172
|
|
19
|
-
unique_sdk/api_resources/_content.py,sha256=
|
|
19
|
+
unique_sdk/api_resources/_content.py,sha256=KnrfH8UFItNjnNejyWpvxBb9kABwjaxSiK9J8CPf67o,10725
|
|
20
20
|
unique_sdk/api_resources/_embedding.py,sha256=C6qak7cCUBMBINfPhgH8taCJZ9n6w1MUElqDJJ8dG10,1281
|
|
21
21
|
unique_sdk/api_resources/_event.py,sha256=bpWF9vstdoAWbUzr-iiGP713ceP0zPk77GJXiImf9zg,374
|
|
22
22
|
unique_sdk/api_resources/_folder.py,sha256=rDO3rHNddvVWBhM4gaut9WN1A_hASJHiFiAS6a8MszU,9772
|
|
@@ -27,13 +27,13 @@ unique_sdk/api_resources/_message_assessment.py,sha256=SSfx6eW7zb_GKe8cFJzCqW-t-
|
|
|
27
27
|
unique_sdk/api_resources/_search.py,sha256=GQItZKoGNOVZfkLLltBmsRZYBIreRKU0lGW8Kgpj1_Q,1959
|
|
28
28
|
unique_sdk/api_resources/_search_string.py,sha256=4Idw6exgZdA8qksz9WkiA68k1hTU-7yFkgT_OLU_GkE,1662
|
|
29
29
|
unique_sdk/api_resources/_short_term_memory.py,sha256=vPRN-Y0WPx74E6y-A3LocGc0TxJdzT-xGL66WzZwKRg,2820
|
|
30
|
-
unique_sdk/api_resources/_space.py,sha256=
|
|
30
|
+
unique_sdk/api_resources/_space.py,sha256=Mzl1EUn7RrfjB8fKC6f-TW9GAOl5M6JncYLrKMDa-pQ,4933
|
|
31
31
|
unique_sdk/utils/chat_history.py,sha256=5UqL9hF1O9pV7skbNOlEibF5rHdYsmG3m5-YEPUowOs,3037
|
|
32
32
|
unique_sdk/utils/chat_in_space.py,sha256=nYmgQYhIxqQex_6zjdCfNuGnjoU14WkxUN6_zmSOiCQ,5169
|
|
33
33
|
unique_sdk/utils/file_io.py,sha256=YY8B7VJcTLOPmCXByiOfNerXGlAtjCC5EVNmAbQJ3dQ,4306
|
|
34
34
|
unique_sdk/utils/sources.py,sha256=wfboE-neMKa0Wuq9QzfAEFMkNLrIrmm0v-QF33sLo6k,4952
|
|
35
35
|
unique_sdk/utils/token.py,sha256=AzKuAA1AwBtnvSFxGcsHLpxXr_wWE5Mj4jYBbOz2ljA,1740
|
|
36
|
-
unique_sdk-0.10.
|
|
37
|
-
unique_sdk-0.10.
|
|
38
|
-
unique_sdk-0.10.
|
|
39
|
-
unique_sdk-0.10.
|
|
36
|
+
unique_sdk-0.10.7.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
|
|
37
|
+
unique_sdk-0.10.7.dist-info/METADATA,sha256=79pPucHAbyeI3kp8Y2bmWCDs350XiTLqAQQtxF2Ygbg,49144
|
|
38
|
+
unique_sdk-0.10.7.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
39
|
+
unique_sdk-0.10.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|