unique_sdk 0.10.5__tar.gz → 0.10.7__tar.gz

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.

Files changed (40) hide show
  1. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/CHANGELOG.md +6 -0
  2. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/PKG-INFO +7 -1
  3. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/pyproject.toml +1 -1
  4. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_content.py +4 -0
  5. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_space.py +2 -0
  6. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/LICENSE +0 -0
  7. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/README.md +0 -0
  8. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/__init__.py +0 -0
  9. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_api_requestor.py +0 -0
  10. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_api_resource.py +0 -0
  11. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_api_version.py +0 -0
  12. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_error.py +0 -0
  13. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_http_client.py +0 -0
  14. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_list_object.py +0 -0
  15. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_object_classes.py +0 -0
  16. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_request_options.py +0 -0
  17. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_unique_object.py +0 -0
  18. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_unique_ql.py +0 -0
  19. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_unique_response.py +0 -0
  20. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_util.py +0 -0
  21. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_version.py +0 -0
  22. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/_webhook.py +0 -0
  23. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/__init__.py +0 -0
  24. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_acronyms.py +0 -0
  25. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_chat_completion.py +0 -0
  26. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_embedding.py +0 -0
  27. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_event.py +0 -0
  28. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_folder.py +0 -0
  29. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_integrated.py +0 -0
  30. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_mcp.py +0 -0
  31. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_message.py +0 -0
  32. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_message_assessment.py +0 -0
  33. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_search.py +0 -0
  34. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_search_string.py +0 -0
  35. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/api_resources/_short_term_memory.py +0 -0
  36. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/utils/chat_history.py +0 -0
  37. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/utils/chat_in_space.py +0 -0
  38. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/utils/file_io.py +0 -0
  39. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/utils/sources.py +0 -0
  40. {unique_sdk-0.10.5 → unique_sdk-0.10.7}/unique_sdk/utils/token.py +0 -0
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.10.7] - 2025-08-13
9
+ - Make metadata optional when uploading a file.
10
+
11
+ ## [0.10.6] - 2025-08-06
12
+ - Make tools optional for running an agent.
13
+
8
14
  ## [0.10.5] - 2025-08-06
9
15
  - Get paginated files and folders info.
10
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_sdk
3
- Version: 0.10.5
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
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "unique_sdk"
3
- version = "0.10.5"
3
+ version = "0.10.7"
4
4
  description = ""
5
5
  authors = [
6
6
  "Martin Fadler <martin.fadler@unique.ch>",
@@ -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(
File without changes
File without changes