unique_toolkit 2026.32.0.dev1__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.
@@ -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`` (and logs a warning) if the folder lookup fails, so callers
111
- can batch-resolve ids without a single missing folder aborting the whole
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.warning(f"Could not resolve folder for scope_id {scope_id}", exc_info=e)
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.warning(
847
- f"Could not resolve folder for scope_id {scope_id}", exc_info=e
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: unique-toolkit
3
- Version: 2026.32.0.dev1
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.dev1,<2026.32.0rc0
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
@@ -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=xLBHNHBsoySIESU-jvmU-6_-5LrbiXkv7-btxbCf_38,8690
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=3pkYoHVtJL7ZtEq_H-p6_v4IpJ_KXkVLlapF0xkl1-U,43462
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.dev1.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
422
- unique_toolkit-2026.32.0.dev1.dist-info/METADATA,sha256=ZVpgPV9758PiDwKueVSEQREsE-EWJJ-nEI65rau_Z2s,7459
423
- unique_toolkit-2026.32.0.dev1.dist-info/RECORD,,
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,,