unique_sdk 0.10.27__py3-none-any.whl → 0.10.28__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/utils/chat_in_space.py +2 -2
- {unique_sdk-0.10.27.dist-info → unique_sdk-0.10.28.dist-info}/METADATA +4 -1
- {unique_sdk-0.10.27.dist-info → unique_sdk-0.10.28.dist-info}/RECORD +5 -5
- {unique_sdk-0.10.27.dist-info → unique_sdk-0.10.28.dist-info}/LICENSE +0 -0
- {unique_sdk-0.10.27.dist-info → unique_sdk-0.10.28.dist-info}/WHEEL +0 -0
|
@@ -49,10 +49,10 @@ async def send_message_and_wait_for_completion(
|
|
|
49
49
|
|
|
50
50
|
max_attempts = int(max_wait // poll_interval)
|
|
51
51
|
for _ in range(max_attempts):
|
|
52
|
-
answer = Space.
|
|
52
|
+
answer = await Space.get_latest_message_async(user_id, company_id, chat_id)
|
|
53
53
|
if answer.get(stop_condition) is not None:
|
|
54
54
|
try:
|
|
55
|
-
user_message = Message.
|
|
55
|
+
user_message = await Message.retrieve_async(
|
|
56
56
|
user_id, company_id, message_id, chatId=chat_id
|
|
57
57
|
)
|
|
58
58
|
debug_info = user_message.get("debugInfo")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_sdk
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.28
|
|
4
4
|
Summary:
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Martin Fadler
|
|
@@ -1662,6 +1662,9 @@ All notable changes to this project will be documented in this file.
|
|
|
1662
1662
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
1663
1663
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
1664
1664
|
|
|
1665
|
+
## [0.10.28] - 2025-10-03
|
|
1666
|
+
- Use non blocking versions of `Space.get_latest_message` and `Message.retrieve` in `send_message_and_wait_for_completion`.
|
|
1667
|
+
|
|
1665
1668
|
## [0.10.27] - 2025-09-24
|
|
1666
1669
|
- Improve readme to use Unique AI.
|
|
1667
1670
|
|
|
@@ -32,11 +32,11 @@ unique_sdk/api_resources/_search_string.py,sha256=4Idw6exgZdA8qksz9WkiA68k1hTU-7
|
|
|
32
32
|
unique_sdk/api_resources/_short_term_memory.py,sha256=vPRN-Y0WPx74E6y-A3LocGc0TxJdzT-xGL66WzZwKRg,2820
|
|
33
33
|
unique_sdk/api_resources/_space.py,sha256=Z84k8blttHS5OjHIahZdddTL-HvYZGBolfCANwETaDE,4994
|
|
34
34
|
unique_sdk/utils/chat_history.py,sha256=5UqL9hF1O9pV7skbNOlEibF5rHdYsmG3m5-YEPUowOs,3037
|
|
35
|
-
unique_sdk/utils/chat_in_space.py,sha256=
|
|
35
|
+
unique_sdk/utils/chat_in_space.py,sha256=cdjETBLnjv-OE8qsQpm626ks5yBdfQG_KBeG0WIzCbY,5994
|
|
36
36
|
unique_sdk/utils/file_io.py,sha256=sJS-dJLjogG65mLukDO9pGDpKVTP4LhIgiZASnCvjNI,4330
|
|
37
37
|
unique_sdk/utils/sources.py,sha256=DoxxhMLcLhmDfNarjXa41H4JD2GSSDywr71hiC-4pYc,4952
|
|
38
38
|
unique_sdk/utils/token.py,sha256=AzKuAA1AwBtnvSFxGcsHLpxXr_wWE5Mj4jYBbOz2ljA,1740
|
|
39
|
-
unique_sdk-0.10.
|
|
40
|
-
unique_sdk-0.10.
|
|
41
|
-
unique_sdk-0.10.
|
|
42
|
-
unique_sdk-0.10.
|
|
39
|
+
unique_sdk-0.10.28.dist-info/LICENSE,sha256=EJCWoHgrXVBUb47PnjeV4MFIEOR71MAdCOIgv61J-4k,1065
|
|
40
|
+
unique_sdk-0.10.28.dist-info/METADATA,sha256=xSt35YXI3FhcdCs6hNcuGZKodthsnpweKFKrAuR9KNY,57863
|
|
41
|
+
unique_sdk-0.10.28.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
42
|
+
unique_sdk-0.10.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|