unique_toolkit 2026.32.0.dev0__py3-none-any.whl → 2026.32.0.dev2__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.
- unique_toolkit/chat/schemas.py +7 -1
- unique_toolkit/experimental/components/content_tree/functions.py +3 -4
- unique_toolkit/services/knowledge_base.py +2 -2
- {unique_toolkit-2026.32.0.dev0.dist-info → unique_toolkit-2026.32.0.dev2.dist-info}/METADATA +2 -2
- {unique_toolkit-2026.32.0.dev0.dist-info → unique_toolkit-2026.32.0.dev2.dist-info}/RECORD +6 -6
- {unique_toolkit-2026.32.0.dev0.dist-info → unique_toolkit-2026.32.0.dev2.dist-info}/WHEEL +0 -0
unique_toolkit/chat/schemas.py
CHANGED
|
@@ -216,9 +216,15 @@ class MessageLogUncitedReferences(BaseModel):
|
|
|
216
216
|
|
|
217
217
|
class MessageLogEvent(BaseModel):
|
|
218
218
|
model_config = model_config
|
|
219
|
-
type: Literal[
|
|
219
|
+
type: Literal[
|
|
220
|
+
"WebSearch", "InternalSearch", "Elicitation", "Thinking", "ToolCall", "Todo"
|
|
221
|
+
]
|
|
220
222
|
text: str
|
|
221
223
|
step_type: str | None = None
|
|
224
|
+
status: Literal["todo", "done"] | None = Field(
|
|
225
|
+
default=None,
|
|
226
|
+
description="Checklist item state for 'Todo' events; unused for other event types",
|
|
227
|
+
)
|
|
222
228
|
|
|
223
229
|
|
|
224
230
|
class MessageLogDetails(BaseModel):
|
|
@@ -107,9 +107,8 @@ async def translate_scope_id_async(
|
|
|
107
107
|
) -> str | None:
|
|
108
108
|
"""Resolve a single ``scope_id`` to a folder name.
|
|
109
109
|
|
|
110
|
-
Returns ``None``
|
|
111
|
-
|
|
112
|
-
operation.
|
|
110
|
+
Returns ``None`` if the folder lookup fails (logged at debug; callers fall back
|
|
111
|
+
to the raw ``scope_id``), so batch resolution is not aborted by a single miss.
|
|
113
112
|
"""
|
|
114
113
|
try:
|
|
115
114
|
folder_info = await get_folder_info_async(
|
|
@@ -119,7 +118,7 @@ async def translate_scope_id_async(
|
|
|
119
118
|
)
|
|
120
119
|
return folder_info.name
|
|
121
120
|
except Exception as e:
|
|
122
|
-
_LOGGER.
|
|
121
|
+
_LOGGER.debug("Could not resolve folder for scope_id %s", scope_id, exc_info=e)
|
|
123
122
|
return None
|
|
124
123
|
|
|
125
124
|
|
|
@@ -843,8 +843,8 @@ class KnowledgeBaseService:
|
|
|
843
843
|
folder_info = await self.get_folder_info_async(scope_id=scope_id)
|
|
844
844
|
return folder_info.name
|
|
845
845
|
except Exception as e:
|
|
846
|
-
_LOGGER.
|
|
847
|
-
|
|
846
|
+
_LOGGER.debug(
|
|
847
|
+
"Could not resolve folder for scope_id %s", scope_id, exc_info=e
|
|
848
848
|
)
|
|
849
849
|
return None
|
|
850
850
|
|
{unique_toolkit-2026.32.0.dev0.dist-info → unique_toolkit-2026.32.0.dev2.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-toolkit
|
|
3
|
-
Version: 2026.32.0.
|
|
3
|
+
Version: 2026.32.0.dev2
|
|
4
4
|
Summary:
|
|
5
5
|
Author: Cedric Klinkert, Martin Fadler, Sadique Sheik, Fabian Schläpfer, Pascal Hauri, Ejiroghene Oki-Peter, Rami Azouz, Ricardo Visini, Sanzio Monti
|
|
6
6
|
Author-email: Cedric Klinkert <cedric.klinkert@unique.ch>, Martin Fadler <martin.fadler@unique.ch>, Sadique Sheik <sadique@unique.ch>, Fabian Schläpfer <fabian@unique.ch>, Pascal Hauri <pascal@unique.ch>, Ejiroghene Oki-Peter <oki-peter.ejiroghene@unique.ai>, Rami Azouz <rami.ext@unique.ch>, Ricardo Visini <ricardo.visini@unique.ch>, Sanzio Monti <sanzio.monti@unique.ai>
|
|
@@ -16,7 +16,7 @@ Requires-Dist: sseclient>=0.0.27,<0.0.28
|
|
|
16
16
|
Requires-Dist: openai>=1.105.0,<3
|
|
17
17
|
Requires-Dist: platformdirs>=4.0.0,<5
|
|
18
18
|
Requires-Dist: pillow>=12.1.1
|
|
19
|
-
Requires-Dist: unique-sdk>=2026.32.0.
|
|
19
|
+
Requires-Dist: unique-sdk>=2026.32.0.dev2,<2026.32.0rc0
|
|
20
20
|
Requires-Dist: jambo>=0.1.2,<0.2
|
|
21
21
|
Requires-Dist: jinja2>=3.1.6,<4
|
|
22
22
|
Requires-Dist: docxtpl>=0.20.1,<0.21
|
|
@@ -262,7 +262,7 @@ unique_toolkit/chat/deprecated/service.py,sha256=8_XoopUWHT396Z_5gwMmsI6v4NGVgQi
|
|
|
262
262
|
unique_toolkit/chat/functions.py,sha256=1xpiRMTbl9XSz7fzzbUYYtsAa178bhZ0zIOAAzjDqQw,55773
|
|
263
263
|
unique_toolkit/chat/rendering.py,sha256=c8YiV9oADRrJQ5A_QBJ4_UFc0NZ-2vVaa7tupoMusso,880
|
|
264
264
|
unique_toolkit/chat/responses_api.py,sha256=QtCOe3TI242N1JChhoFikxUCvGY6xfTvSmaE9Ta8HSM,19811
|
|
265
|
-
unique_toolkit/chat/schemas.py,sha256=
|
|
265
|
+
unique_toolkit/chat/schemas.py,sha256=bzvwfwRwnZ6MOza80-Mdas5mX5ZGzEwh_nVRkMuTapY,7957
|
|
266
266
|
unique_toolkit/chat/service.py,sha256=6D00OL4QrGafbOhTaC5zNXaNgg7gS5W_2ePVa4LhqpE,4439
|
|
267
267
|
unique_toolkit/chat/state.py,sha256=Cjgwv_2vhDFbV69xxsn7SefhaoIAEqLx3ferdVFCnOg,1445
|
|
268
268
|
unique_toolkit/chat/utils.py,sha256=CsD9IER2gA1IOV0fmUOl-N0LmKvA7JP9dGrOqeOY0Gg,1173
|
|
@@ -303,7 +303,7 @@ unique_toolkit/experimental/_internal/streaming/pattern_replacer.py,sha256=RLLQK
|
|
|
303
303
|
unique_toolkit/experimental/components/__init__.py,sha256=DCVPD0b6qX1BAmFJtYVeFzJ5PmQhuD0usUQCuA95BR8,1789
|
|
304
304
|
unique_toolkit/experimental/components/_base.py,sha256=XZHKffTIy331ZQnsywl0m1XkJ4DCjHV2on5EBkaG-ik,4153
|
|
305
305
|
unique_toolkit/experimental/components/content_tree/__init__.py,sha256=30eyVB7CzDC9WZTXj-FYQNY20o0m987SV3dn6WdFI-U,2103
|
|
306
|
-
unique_toolkit/experimental/components/content_tree/functions.py,sha256=
|
|
306
|
+
unique_toolkit/experimental/components/content_tree/functions.py,sha256=Q-bk_B3k-SqP-ZW19jqOBWGIqNZoiG0cDkw3LYI0FNA,8683
|
|
307
307
|
unique_toolkit/experimental/components/content_tree/schemas.py,sha256=qRF8UUxhB616lzFSi5FV6vIdLXDHry3fWWb3eSTMJAo,3942
|
|
308
308
|
unique_toolkit/experimental/components/content_tree/service.py,sha256=U04U5Gq1jElUlVbSjefHAIefBi8KRZhKUwmotADx2GU,18907
|
|
309
309
|
unique_toolkit/experimental/components/internal_search/__init__.py,sha256=Jj-ujG_SS5-uqCrrNidRn_H0sQAeSvyWtt9Tw0pkbzI,3091
|
|
@@ -409,7 +409,7 @@ unique_toolkit/protocols/support.py,sha256=x5edzbBmKAUuvm3oLFh52gkgQsqR5LU7M0t8R
|
|
|
409
409
|
unique_toolkit/services/__init__.py,sha256=b9Wl7Wvz1JmZDbDexIZzBoXZ0wscXuczGAH8LoL-Qak,572
|
|
410
410
|
unique_toolkit/services/chat_service.py,sha256=ofhNHCW7kz6xXN4pUTBdDEYovZ7PXhUglPDgez8Qov0,99142
|
|
411
411
|
unique_toolkit/services/factory.py,sha256=7gNeanyHkgX23Iz7RMCQTCkE9gI5asCI11nXxM0jjx4,9832
|
|
412
|
-
unique_toolkit/services/knowledge_base.py,sha256=
|
|
412
|
+
unique_toolkit/services/knowledge_base.py,sha256=6dM4abcXR9y2VYoR6SK79gwjrzb83Wm8jMPPIt5z95o,43461
|
|
413
413
|
unique_toolkit/short_term_memory/__init__.py,sha256=2mI3AUrffgH7Yt-xS57EGqnHf7jnn6xquoKEhJqk3Wg,185
|
|
414
414
|
unique_toolkit/short_term_memory/constants.py,sha256=698CL6-wjup2MvU19RxSmQk3gX7aqW_OOpZB7sbz_Xg,34
|
|
415
415
|
unique_toolkit/short_term_memory/functions.py,sha256=mbEeWkJ5Jr0cvg1_m6l9aS1L6nWE5ZhviNzpKlCs-a8,7907
|
|
@@ -418,6 +418,6 @@ unique_toolkit/short_term_memory/service.py,sha256=2JMBEBn6GoyK-a0xvdcWpPft-3C74
|
|
|
418
418
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
419
419
|
unique_toolkit/smart_rules/compile.py,sha256=vRe0aMJWuVIK-VsqomgxQImzke7MDmwgSxxJfYCa7zw,1386
|
|
420
420
|
unique_toolkit/test_utilities/events.py,sha256=FLrhMh0A_mQutAUjoD0FdMcVQ4Gq31r35OVGzRjvLro,6760
|
|
421
|
-
unique_toolkit-2026.32.0.
|
|
422
|
-
unique_toolkit-2026.32.0.
|
|
423
|
-
unique_toolkit-2026.32.0.
|
|
421
|
+
unique_toolkit-2026.32.0.dev2.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
422
|
+
unique_toolkit-2026.32.0.dev2.dist-info/METADATA,sha256=gZVUsvWymA7AnuSTmC2ZMgOqE1ZYXN0SaqAhdEoGGso,7459
|
|
423
|
+
unique_toolkit-2026.32.0.dev2.dist-info/RECORD,,
|
|
File without changes
|