unique_toolkit 2026.36.0.dev8__py3-none-any.whl → 2026.36.0.dev10__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/agentic/history_manager/history_construction_with_contents.py +3 -1
- unique_toolkit/language_model/infos.py +61 -0
- {unique_toolkit-2026.36.0.dev8.dist-info → unique_toolkit-2026.36.0.dev10.dist-info}/METADATA +2 -2
- {unique_toolkit-2026.36.0.dev8.dist-info → unique_toolkit-2026.36.0.dev10.dist-info}/RECORD +5 -5
- {unique_toolkit-2026.36.0.dev8.dist-info → unique_toolkit-2026.36.0.dev10.dist-info}/WHEEL +0 -0
|
@@ -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(
|
|
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
|
|
|
@@ -139,6 +139,9 @@ class LanguageModelName(StrEnum):
|
|
|
139
139
|
LITELLM_DEEPSEEK_V4_PRO = "litellm:deepseek-v4-pro"
|
|
140
140
|
LITELLM_GLM_5_1 = "litellm:glm-5.1"
|
|
141
141
|
LITELLM_GLM_5_2 = "litellm:glm-5.2"
|
|
142
|
+
LITELLM_PHOENIQS_DEEPSEEK_V4_FLASH = "litellm:phoeniqs-deepseek-v4-flash"
|
|
143
|
+
LITELLM_PHOENIQS_GEMMA_4_31B = "litellm:phoeniqs-gemma-4-31b"
|
|
144
|
+
LITELLM_PHOENIQS_GLM_5_2 = "litellm:phoeniqs-glm-5.2"
|
|
142
145
|
LITELLM_KIMI_K2_6 = "litellm:kimi-k2.6"
|
|
143
146
|
LITELLM_KIMI_K3 = "litellm:kimi-k3"
|
|
144
147
|
LITELLM_QWEN_3 = "litellm:qwen-3-235B-A22B"
|
|
@@ -2915,6 +2918,64 @@ class LanguageModelInfo(BaseModel):
|
|
|
2915
2918
|
published_at=date(2026, 1, 1),
|
|
2916
2919
|
supported_reasoning_efforts=[],
|
|
2917
2920
|
)
|
|
2921
|
+
# Phoeniqs publishes one combined context-window figure (max tokens per API call), not separate input/output limits, so token_limit_input==token_limit_output below — note the deprecated `LanguageModelTokenLimits.token_limit` sums these to 2x Phoeniqs' real per-call cap. https://documentation.phoeniqs.com/maas/active-models/
|
|
2922
|
+
case LanguageModelName.LITELLM_PHOENIQS_DEEPSEEK_V4_FLASH:
|
|
2923
|
+
return cls(
|
|
2924
|
+
name=model_name,
|
|
2925
|
+
provider=LanguageModelProvider.LITELLM,
|
|
2926
|
+
family=ModelFamily.DEEPSEEK,
|
|
2927
|
+
version="deepseek-v4-flash-0731",
|
|
2928
|
+
encoder_name=EncoderName.DEEPSEEK,
|
|
2929
|
+
capabilities=[
|
|
2930
|
+
ModelCapabilities.FUNCTION_CALLING,
|
|
2931
|
+
ModelCapabilities.REASONING,
|
|
2932
|
+
ModelCapabilities.STREAMING,
|
|
2933
|
+
],
|
|
2934
|
+
token_limits=LanguageModelTokenLimits(
|
|
2935
|
+
token_limit_input=1_000_000, token_limit_output=1_000_000
|
|
2936
|
+
),
|
|
2937
|
+
published_at=date(2026, 7, 31), # HF repo creation date
|
|
2938
|
+
supported_reasoning_efforts=[],
|
|
2939
|
+
)
|
|
2940
|
+
case LanguageModelName.LITELLM_PHOENIQS_GEMMA_4_31B:
|
|
2941
|
+
return cls(
|
|
2942
|
+
name=model_name,
|
|
2943
|
+
provider=LanguageModelProvider.LITELLM,
|
|
2944
|
+
family=ModelFamily.GOOGLE,
|
|
2945
|
+
version="gemma-4-31b-it-fp8-block",
|
|
2946
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
2947
|
+
capabilities=[
|
|
2948
|
+
ModelCapabilities.VISION,
|
|
2949
|
+
ModelCapabilities.STREAMING,
|
|
2950
|
+
],
|
|
2951
|
+
token_limits=LanguageModelTokenLimits(
|
|
2952
|
+
token_limit_input=131_072, token_limit_output=131_072
|
|
2953
|
+
),
|
|
2954
|
+
published_at=date(2026, 4, 3), # HF repo creation date
|
|
2955
|
+
supported_reasoning_efforts=[],
|
|
2956
|
+
)
|
|
2957
|
+
case LanguageModelName.LITELLM_PHOENIQS_GLM_5_2:
|
|
2958
|
+
return cls(
|
|
2959
|
+
name=model_name,
|
|
2960
|
+
provider=LanguageModelProvider.LITELLM,
|
|
2961
|
+
family=ModelFamily.ZAI,
|
|
2962
|
+
version="glm-5.2",
|
|
2963
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
2964
|
+
capabilities=[
|
|
2965
|
+
ModelCapabilities.FUNCTION_CALLING,
|
|
2966
|
+
ModelCapabilities.STRUCTURED_OUTPUT,
|
|
2967
|
+
ModelCapabilities.REASONING,
|
|
2968
|
+
ModelCapabilities.STREAMING,
|
|
2969
|
+
],
|
|
2970
|
+
token_limits=LanguageModelTokenLimits(
|
|
2971
|
+
token_limit_input=131_072, token_limit_output=131_072
|
|
2972
|
+
),
|
|
2973
|
+
published_at=date(
|
|
2974
|
+
2026, 6, 16
|
|
2975
|
+
), # HF repo creation date — unlike the
|
|
2976
|
+
# Together AI entry above, not an unsourced placeholder.
|
|
2977
|
+
supported_reasoning_efforts=[],
|
|
2978
|
+
)
|
|
2918
2979
|
case LanguageModelName.LITELLM_KIMI_K2_6:
|
|
2919
2980
|
return cls(
|
|
2920
2981
|
name=model_name,
|
{unique_toolkit-2026.36.0.dev8.dist-info → unique_toolkit-2026.36.0.dev10.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-toolkit
|
|
3
|
-
Version: 2026.36.0.
|
|
3
|
+
Version: 2026.36.0.dev10
|
|
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.
|
|
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=
|
|
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
|
|
@@ -394,7 +394,7 @@ unique_toolkit/language_model/builder.py,sha256=KwBzsD6-fvQnB4p2I7M-5Tk6j4tmQ973
|
|
|
394
394
|
unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qzIHUCBS7YJ0-1U,119
|
|
395
395
|
unique_toolkit/language_model/default_language_model.py,sha256=mcyuFs_V6tp52C8xJSHiEHO4kFGj6xed1gvozvCRD7k,1181
|
|
396
396
|
unique_toolkit/language_model/functions.py,sha256=W6JC4LUh-LZ9waDgph--xVmKeQ7Ls6NRAqDx9DwQdeY,26691
|
|
397
|
-
unique_toolkit/language_model/infos.py,sha256=
|
|
397
|
+
unique_toolkit/language_model/infos.py,sha256=TY4HtNbOxwokq3YW4QNiAyA8eq2ZvzzaRhGAfDkKG3M,149525
|
|
398
398
|
unique_toolkit/language_model/invocation_stats.py,sha256=CQbpUz394IsVd8eNTB1gPSMt5f0UXmkN1amNsqtAW6U,5857
|
|
399
399
|
unique_toolkit/language_model/model_costs.py,sha256=WM1u2fWAKpPB_creS-ew8YAzc1V8oiaCbvhpSJaO8B0,3789
|
|
400
400
|
unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
|
|
@@ -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.
|
|
426
|
-
unique_toolkit-2026.36.0.
|
|
427
|
-
unique_toolkit-2026.36.0.
|
|
425
|
+
unique_toolkit-2026.36.0.dev10.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
426
|
+
unique_toolkit-2026.36.0.dev10.dist-info/METADATA,sha256=FPS0NPAqeubT3sDjWZqCCbwwn8BZHvy9ZaWZQiNIZwc,7822
|
|
427
|
+
unique_toolkit-2026.36.0.dev10.dist-info/RECORD,,
|
|
File without changes
|