unique_toolkit 2026.42.0.dev3__py3-none-any.whl → 2026.42.0.dev5__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/app/schemas.py +11 -0
- unique_toolkit/language_model/infos.py +45 -0
- unique_toolkit/language_model/settings.py +1 -0
- {unique_toolkit-2026.42.0.dev3.dist-info → unique_toolkit-2026.42.0.dev5.dist-info}/METADATA +1 -1
- {unique_toolkit-2026.42.0.dev3.dist-info → unique_toolkit-2026.42.0.dev5.dist-info}/RECORD +6 -6
- {unique_toolkit-2026.42.0.dev3.dist-info → unique_toolkit-2026.42.0.dev5.dist-info}/WHEEL +0 -0
unique_toolkit/app/schemas.py
CHANGED
|
@@ -334,6 +334,13 @@ class ChatEventPayload(BaseEventPayload):
|
|
|
334
334
|
default_factory=lambda: LanguageModelInfo.from_name(DEFAULT_LANGUAGE_MODEL),
|
|
335
335
|
description="The model choice the user has chosen to be used.",
|
|
336
336
|
)
|
|
337
|
+
thinking_level: str = Field(
|
|
338
|
+
default="",
|
|
339
|
+
description=(
|
|
340
|
+
"Thinking or reasoning level chosen for this turn. "
|
|
341
|
+
"Empty when the client did not send one."
|
|
342
|
+
),
|
|
343
|
+
)
|
|
337
344
|
tool_choices: list[str] = Field(
|
|
338
345
|
default_factory=list,
|
|
339
346
|
description="A list containing the tool names the user has chosen to be activated.",
|
|
@@ -387,6 +394,10 @@ class ChatEventPayload(BaseEventPayload):
|
|
|
387
394
|
def has_model_choice_override(self) -> bool:
|
|
388
395
|
return "model_choice" in self.model_fields_set
|
|
389
396
|
|
|
397
|
+
@property
|
|
398
|
+
def has_thinking_level_override(self) -> bool:
|
|
399
|
+
return "thinking_level" in self.model_fields_set and bool(self.thinking_level)
|
|
400
|
+
|
|
390
401
|
|
|
391
402
|
@deprecated("""Use `ChatEventPayload` instead.
|
|
392
403
|
This class will be removed in the next major version.""")
|
|
@@ -157,6 +157,8 @@ class LanguageModelName(StrEnum):
|
|
|
157
157
|
LITELLM_PHOENIQS_DEEPSEEK_V4_FLASH = "litellm:phoeniqs-deepseek-v4-flash"
|
|
158
158
|
LITELLM_PHOENIQS_GEMMA_4_31B = "litellm:phoeniqs-gemma-4-31b"
|
|
159
159
|
LITELLM_PHOENIQS_GLM_5_2 = "litellm:phoeniqs-glm-5.2"
|
|
160
|
+
LITELLM_PHOENIQS_GLM_5_3_FLASH = "litellm:phoeniqs-glm-5.3-flash"
|
|
161
|
+
LITELLM_PHOENIQS_LLAMA_4_MAVERICK = "litellm:phoeniqs-llama-4-maverick"
|
|
160
162
|
LITELLM_KIMI_K2_6 = "litellm:kimi-k2.6"
|
|
161
163
|
LITELLM_KIMI_K3 = "litellm:kimi-k3"
|
|
162
164
|
LITELLM_QWEN_3 = "litellm:qwen-3-235B-A22B"
|
|
@@ -3433,6 +3435,49 @@ class LanguageModelInfo(BaseModel):
|
|
|
3433
3435
|
# Together AI entry above, not an unsourced placeholder.
|
|
3434
3436
|
supported_reasoning_efforts=[],
|
|
3435
3437
|
)
|
|
3438
|
+
case LanguageModelName.LITELLM_PHOENIQS_GLM_5_3_FLASH:
|
|
3439
|
+
return cls(
|
|
3440
|
+
name=model_name,
|
|
3441
|
+
provider=LanguageModelProvider.LITELLM,
|
|
3442
|
+
family=ModelFamily.ZAI,
|
|
3443
|
+
version="glm-5.3-flash",
|
|
3444
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
3445
|
+
capabilities=[
|
|
3446
|
+
ModelCapabilities.FUNCTION_CALLING,
|
|
3447
|
+
ModelCapabilities.REASONING,
|
|
3448
|
+
ModelCapabilities.STREAMING,
|
|
3449
|
+
ModelCapabilities.VISION,
|
|
3450
|
+
],
|
|
3451
|
+
token_limits=LanguageModelTokenLimits(
|
|
3452
|
+
# Context window is 1_000_000, we leave 100_000 tokens as buffer due to tokenizer mismatch
|
|
3453
|
+
# Assign 90% for input and 10% for output
|
|
3454
|
+
token_limit_input=int(900_000 * 0.9),
|
|
3455
|
+
token_limit_output=int(900_000 * 0.1),
|
|
3456
|
+
),
|
|
3457
|
+
published_at=date(2026, 8, 25), # HF repo creation date
|
|
3458
|
+
supported_reasoning_efforts=[],
|
|
3459
|
+
)
|
|
3460
|
+
case LanguageModelName.LITELLM_PHOENIQS_LLAMA_4_MAVERICK:
|
|
3461
|
+
return cls(
|
|
3462
|
+
name=model_name,
|
|
3463
|
+
provider=LanguageModelProvider.LITELLM,
|
|
3464
|
+
family=ModelFamily.META,
|
|
3465
|
+
version="llama-4-maverick",
|
|
3466
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
3467
|
+
capabilities=[
|
|
3468
|
+
ModelCapabilities.FUNCTION_CALLING,
|
|
3469
|
+
ModelCapabilities.VISION,
|
|
3470
|
+
ModelCapabilities.STREAMING,
|
|
3471
|
+
],
|
|
3472
|
+
token_limits=LanguageModelTokenLimits(
|
|
3473
|
+
# Context window is 1_048_576, we leave 100_000 tokens as buffer due to tokenizer mismatch
|
|
3474
|
+
# Assign 90% for input and 10% for output
|
|
3475
|
+
token_limit_input=int(948_576 * 0.9),
|
|
3476
|
+
token_limit_output=int(948_576 * 0.1),
|
|
3477
|
+
),
|
|
3478
|
+
published_at=date(2025, 6, 12), # HF repo creation date
|
|
3479
|
+
supported_reasoning_efforts=[],
|
|
3480
|
+
)
|
|
3436
3481
|
case LanguageModelName.LITELLM_KIMI_K2_6:
|
|
3437
3482
|
return cls(
|
|
3438
3483
|
name=model_name,
|
{unique_toolkit-2026.42.0.dev3.dist-info → unique_toolkit-2026.42.0.dev5.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-toolkit
|
|
3
|
-
Version: 2026.42.0.
|
|
3
|
+
Version: 2026.42.0.dev5
|
|
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>
|
|
@@ -254,7 +254,7 @@ unique_toolkit/app/init_logging.py,sha256=3Rl-BY1cYyP-E-C5xcvUrbm5KqoXPBPl0lA9Sj
|
|
|
254
254
|
unique_toolkit/app/init_sdk.py,sha256=5_oDoETr6akwYyBCb0ivTdMNu3SVgPSkrXcDS6ELyY8,2269
|
|
255
255
|
unique_toolkit/app/performance/async_tasks.py,sha256=8Xv5kEmmFDJO7YyyBxv4e7bcNgq-3z_E2_4z1Yn9EqU,1970
|
|
256
256
|
unique_toolkit/app/performance/async_wrapper.py,sha256=yVVcRDkcdyfjsxro-N29SBvi-7773wnfDplef6-y8xw,1077
|
|
257
|
-
unique_toolkit/app/schemas.py,sha256=
|
|
257
|
+
unique_toolkit/app/schemas.py,sha256=1OXs2408Zr8lcUHZZrcMR-z1nzAxFLyOWQ39DbmjB5c,18882
|
|
258
258
|
unique_toolkit/app/unique_settings.py,sha256=dfqqh1Nv2JaqL3fePndmuRAfJcARzImdwSOO1J3KS1E,27318
|
|
259
259
|
unique_toolkit/app/verification.py,sha256=GxFFwcJMy25fCA_Xe89wKW7bgqOu8PAs5y8QpHF0GSc,3861
|
|
260
260
|
unique_toolkit/app/webhook.py,sha256=evpxLDnvz7P3D7-TV1XBkl8WcoldXpjOkw3tvFRxHr0,2368
|
|
@@ -397,14 +397,14 @@ unique_toolkit/language_model/builder.py,sha256=KwBzsD6-fvQnB4p2I7M-5Tk6j4tmQ973
|
|
|
397
397
|
unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qzIHUCBS7YJ0-1U,119
|
|
398
398
|
unique_toolkit/language_model/default_language_model.py,sha256=mcyuFs_V6tp52C8xJSHiEHO4kFGj6xed1gvozvCRD7k,1181
|
|
399
399
|
unique_toolkit/language_model/functions.py,sha256=W6JC4LUh-LZ9waDgph--xVmKeQ7Ls6NRAqDx9DwQdeY,26691
|
|
400
|
-
unique_toolkit/language_model/infos.py,sha256=
|
|
400
|
+
unique_toolkit/language_model/infos.py,sha256=y4J53RwG-K5QjRY9EeYQ55ioX-JPZTINBZaenrVAIOo,174566
|
|
401
401
|
unique_toolkit/language_model/invocation_stats.py,sha256=CQbpUz394IsVd8eNTB1gPSMt5f0UXmkN1amNsqtAW6U,5857
|
|
402
402
|
unique_toolkit/language_model/model_costs.py,sha256=ShuDAzMew1fUkJ3tzPgU5Zqjp6ivUZaG97BFh93tEn4,6358
|
|
403
403
|
unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
|
|
404
404
|
unique_toolkit/language_model/reference.py,sha256=T3wr2jP_uRg5wKVIbKqLbxJlcgxfbZQGq3XdjbQ2kSo,6984
|
|
405
405
|
unique_toolkit/language_model/schemas.py,sha256=o8zGkfoYayO1gL85G-ulV3Akp_BwjgEWGGUb89j1OgU,35440
|
|
406
406
|
unique_toolkit/language_model/service.py,sha256=lgpzWhqxLBOeFacCafQi4e7BqAxJbOlr8GnCYcKeTdM,13274
|
|
407
|
-
unique_toolkit/language_model/settings.py,sha256=
|
|
407
|
+
unique_toolkit/language_model/settings.py,sha256=Yj9zcIctL3WhxDR4v6VnliYmn3txq519MK8DoWFHuiQ,1542
|
|
408
408
|
unique_toolkit/language_model/stream_transform.py,sha256=iNNGpLY_7G6Bpp9Y4KtbIkQm3WB4yZt75BXcqx0DVkI,2775
|
|
409
409
|
unique_toolkit/language_model/utils.py,sha256=bPQ4l6_YO71w-zaIPanUUmtbXC1_hCvLK0tAFc3VCRc,1902
|
|
410
410
|
unique_toolkit/monitoring/__init__.py,sha256=XHRzPx4LKcbKruRrf_gNv50amhvhy8Go2IkOoHMuLsw,1486
|
|
@@ -426,6 +426,6 @@ unique_toolkit/short_term_memory/service.py,sha256=2JMBEBn6GoyK-a0xvdcWpPft-3C74
|
|
|
426
426
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
427
427
|
unique_toolkit/smart_rules/compile.py,sha256=vRe0aMJWuVIK-VsqomgxQImzke7MDmwgSxxJfYCa7zw,1386
|
|
428
428
|
unique_toolkit/test_utilities/events.py,sha256=FLrhMh0A_mQutAUjoD0FdMcVQ4Gq31r35OVGzRjvLro,6760
|
|
429
|
-
unique_toolkit-2026.42.0.
|
|
430
|
-
unique_toolkit-2026.42.0.
|
|
431
|
-
unique_toolkit-2026.42.0.
|
|
429
|
+
unique_toolkit-2026.42.0.dev5.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
430
|
+
unique_toolkit-2026.42.0.dev5.dist-info/METADATA,sha256=zQfpXjEiup6e3ByDDnz0aKemSh-10qr0ujqFVkHJDWE,7821
|
|
431
|
+
unique_toolkit-2026.42.0.dev5.dist-info/RECORD,,
|
|
File without changes
|