unique_toolkit 2026.36.0.dev7__py3-none-any.whl → 2026.36.0.dev9__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.
@@ -196,7 +196,9 @@ async def download_encoded_images_async(
196
196
  image_string = f"data:{mime_type};base64," + encoded_string
197
197
  base64_encoded_images.append(image_string)
198
198
  except Exception as e:
199
- _LOGGER.warning("Failed to download image %s: %s", im.key, e)
199
+ _LOGGER.warning(
200
+ "Failed to download image %s: %s", im.key, e, exc_info=True
201
+ )
200
202
  return base64_encoded_images
201
203
 
202
204
 
@@ -153,7 +153,9 @@ def _prepare_responses_params_util(
153
153
  _to_search_context(content_chunks) if content_chunks is not None else None
154
154
  )
155
155
 
156
- model = model_name.name if isinstance(model_name, LanguageModelName) else model_name
156
+ model = (
157
+ model_name.value if isinstance(model_name, LanguageModelName) else model_name
158
+ )
157
159
 
158
160
  tools_res = _convert_tools_to_openai(tools) if tools is not None else None
159
161
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: unique-toolkit
3
- Version: 2026.36.0.dev7
3
+ Version: 2026.36.0.dev9
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.36.0.dev1,<2026.36.0rc0
19
+ Requires-Dist: unique-sdk>=2026.36.0.dev2,<2026.36.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
@@ -113,7 +113,7 @@ unique_toolkit/agentic/evaluation/tests/test_prompt_loaders.py,sha256=zBREdlKf5t
113
113
  unique_toolkit/agentic/evaluation/utils.py,sha256=HmyPaDV8wdW-_gOjjW-wDaMKgdrsP5-SHP7OqTmGI_A,264
114
114
  unique_toolkit/agentic/feature_flags/__init__.py,sha256=fBR9FaLrc9e8sdYDe1LwP9aNJt5aLLtAq3nIphVWkIk,191
115
115
  unique_toolkit/agentic/feature_flags/feature_flags.py,sha256=vVmgbIp-c7uZdnoM9KFFTpaVIvbl7vrzHF8Nd0sMK_M,6943
116
- unique_toolkit/agentic/history_manager/history_construction_with_contents.py,sha256=70lm8pYmQpb0HRpqzPTb4ikh8vVbvhfGR5S-D4Ftbbc,25306
116
+ unique_toolkit/agentic/history_manager/history_construction_with_contents.py,sha256=7d1f9VGBtgB-73uk72ewBKbtefzKMxxfW2_8BcmLGTc,25359
117
117
  unique_toolkit/agentic/history_manager/history_manager.py,sha256=PqSa87yzNIDRXqjh1KN7moeIpp_jWxj9qEPig4wv790,16062
118
118
  unique_toolkit/agentic/history_manager/loop_token_reducer.py,sha256=lgo5zAq6gYLo7FFTNWe5sc6o80vnadKsr-cgEDP6hM8,30754
119
119
  unique_toolkit/agentic/history_manager/settings.py,sha256=Lrx3a8yXeU0MXrWlV6RZSHsgYWF9Zrs8LyR96OpqQ_k,1216
@@ -262,7 +262,7 @@ unique_toolkit/chat/deprecated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
262
262
  unique_toolkit/chat/deprecated/service.py,sha256=8_XoopUWHT396Z_5gwMmsI6v4NGVgQirSJCYUW4Gx8c,9339
263
263
  unique_toolkit/chat/functions.py,sha256=1xpiRMTbl9XSz7fzzbUYYtsAa178bhZ0zIOAAzjDqQw,55773
264
264
  unique_toolkit/chat/rendering.py,sha256=c8YiV9oADRrJQ5A_QBJ4_UFc0NZ-2vVaa7tupoMusso,880
265
- unique_toolkit/chat/responses_api.py,sha256=QtCOe3TI242N1JChhoFikxUCvGY6xfTvSmaE9Ta8HSM,19811
265
+ unique_toolkit/chat/responses_api.py,sha256=HszzZIa98SMS1UEo5y06DE0tqlOcvOAyi3g3dfZkUws,19828
266
266
  unique_toolkit/chat/schemas.py,sha256=DJ3-J2a-FK45UU_H2NaDOh-H0UEsPgmM_5eGfwN3HfI,8123
267
267
  unique_toolkit/chat/service.py,sha256=6D00OL4QrGafbOhTaC5zNXaNgg7gS5W_2ePVa4LhqpE,4439
268
268
  unique_toolkit/chat/state.py,sha256=Cjgwv_2vhDFbV69xxsn7SefhaoIAEqLx3ferdVFCnOg,1445
@@ -422,6 +422,6 @@ unique_toolkit/short_term_memory/service.py,sha256=2JMBEBn6GoyK-a0xvdcWpPft-3C74
422
422
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
423
423
  unique_toolkit/smart_rules/compile.py,sha256=vRe0aMJWuVIK-VsqomgxQImzke7MDmwgSxxJfYCa7zw,1386
424
424
  unique_toolkit/test_utilities/events.py,sha256=FLrhMh0A_mQutAUjoD0FdMcVQ4Gq31r35OVGzRjvLro,6760
425
- unique_toolkit-2026.36.0.dev7.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
426
- unique_toolkit-2026.36.0.dev7.dist-info/METADATA,sha256=Wqg6T1X6FZR7xev8-poWDfWwRIcdTFIH6hwdfRRB9XE,7821
427
- unique_toolkit-2026.36.0.dev7.dist-info/RECORD,,
425
+ unique_toolkit-2026.36.0.dev9.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
426
+ unique_toolkit-2026.36.0.dev9.dist-info/METADATA,sha256=q4b8vnepKWZ7_3qifLr20ol4KpEa94PnSy-UD8Agirg,7821
427
+ unique_toolkit-2026.36.0.dev9.dist-info/RECORD,,