unique_toolkit 2026.40.0.dev5__py3-none-any.whl → 2026.40.0.dev7__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.
@@ -113,6 +113,7 @@ class LanguageModelName(StrEnum):
113
113
  GROK_4_1_FAST_REASONING = "litellm:grok-4-1-fast-reasoning"
114
114
  GROK_4_5 = "litellm:grok-4-5"
115
115
  GROK_4_6 = "litellm:grok-4-6"
116
+ GROK_4_7 = "litellm:grok-4-7"
116
117
  LITELLM_OPENAI_GPT_5 = "litellm:openai-gpt-5"
117
118
  LITELLM_OPENAI_GPT_5_MINI = "litellm:openai-gpt-5-mini"
118
119
  LITELLM_OPENAI_GPT_5_NANO = "litellm:openai-gpt-5-nano"
@@ -141,6 +142,7 @@ class LanguageModelName(StrEnum):
141
142
  LITELLM_DEEPSEEK_R1 = "litellm:deepseek-r1"
142
143
  LITELLM_DEEPSEEK_V3 = "litellm:deepseek-v3-1"
143
144
  LITELLM_DEEPSEEK_V4_PRO = "litellm:deepseek-v4-pro"
145
+ LITELLM_DEEPSEEK_V4_1_FLASH = "litellm:deepseek-v4-1-flash"
144
146
  LITELLM_GLM_5_1 = "litellm:glm-5.1"
145
147
  LITELLM_GLM_5_2 = "litellm:glm-5.2"
146
148
  LITELLM_PHOENIQS_DEEPSEEK_V4_FLASH = "litellm:phoeniqs-deepseek-v4-flash"
@@ -2322,6 +2324,34 @@ class LanguageModelInfo(BaseModel):
2322
2324
  supported_reasoning_efforts=["low", "medium", "high", "xhigh"],
2323
2325
  default_options={"reasoning_effort": "high"},
2324
2326
  )
2327
+ case LanguageModelName.GROK_4_7:
2328
+ # Specs from https://docs.x.ai/developers/models/grok-4.7
2329
+ # Knowledge cutoff from https://docs.x.ai/developers/models
2330
+ # Published 2026-09-21: https://vercel.com/changelog/grok-4-7-now-available-and-40-off-on-ai-gateway-fx-eve
2331
+ return cls(
2332
+ name=model_name,
2333
+ capabilities=[
2334
+ ModelCapabilities.FUNCTION_CALLING,
2335
+ ModelCapabilities.REASONING,
2336
+ ModelCapabilities.STREAMING,
2337
+ ModelCapabilities.STRUCTURED_OUTPUT,
2338
+ ModelCapabilities.VISION,
2339
+ ],
2340
+ provider=LanguageModelProvider.LITELLM,
2341
+ family=ModelFamily.XAI,
2342
+ version="grok-4.7",
2343
+ encoder_name=EncoderName.O200K_BASE, # TODO: Update encoder with grok tokenizer
2344
+ token_limits=LanguageModelTokenLimits(
2345
+ # Context window is 500_000, we leave 20_000 tokens as buffer due to tokenizer mismatch
2346
+ # Assign 90% for input and 10% for output
2347
+ token_limit_input=int(480_000 * 0.9),
2348
+ token_limit_output=int(480_000 * 0.1),
2349
+ ),
2350
+ info_cutoff_at=date(2026, 5, day=1),
2351
+ published_at=date(2026, 9, day=21),
2352
+ supported_reasoning_efforts=["low", "medium", "high", "xhigh"],
2353
+ default_options={"reasoning_effort": "high"},
2354
+ )
2325
2355
  case LanguageModelName.LITELLM_OPENAI_GPT_5:
2326
2356
  return cls(
2327
2357
  name=model_name,
@@ -3042,6 +3072,30 @@ class LanguageModelInfo(BaseModel):
3042
3072
  published_at=date(2026, 1, 1),
3043
3073
  supported_reasoning_efforts=[],
3044
3074
  )
3075
+ case LanguageModelName.LITELLM_DEEPSEEK_V4_1_FLASH:
3076
+ return cls(
3077
+ name=model_name,
3078
+ provider=LanguageModelProvider.LITELLM,
3079
+ family=ModelFamily.DEEPSEEK,
3080
+ version="deepseek-v4-1-flash",
3081
+ encoder_name=EncoderName.DEEPSEEK,
3082
+ capabilities=[
3083
+ ModelCapabilities.FUNCTION_CALLING,
3084
+ ModelCapabilities.STRUCTURED_OUTPUT,
3085
+ ModelCapabilities.REASONING,
3086
+ ModelCapabilities.STREAMING,
3087
+ ModelCapabilities.VISION,
3088
+ ],
3089
+ # 1M context and 384K max output. Alibaba Model Studio lists
3090
+ # max input 1_000_000 and max output 393_216; Together serves
3091
+ # maxTokens 384_000.
3092
+ # https://www.alibabacloud.com/help/en/model-studio/deepseek-v4-1-flash
3093
+ # https://pi.dev/models/together/deepseek-ai-deepseek-v4-1-flash
3094
+ token_limits=LanguageModelTokenLimits(
3095
+ token_limit_input=1_000_000, token_limit_output=384_000
3096
+ ),
3097
+ supported_reasoning_efforts=[],
3098
+ )
3045
3099
  case LanguageModelName.LITELLM_GLM_5_1:
3046
3100
  return cls(
3047
3101
  name=model_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: unique-toolkit
3
- Version: 2026.40.0.dev5
3
+ Version: 2026.40.0.dev7
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.40.0.dev3,<2026.40.0rc0
19
+ Requires-Dist: unique-sdk>=2026.40.0.dev4,<2026.40.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
@@ -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=_BGQVZJ9_3DDx4qkh8ejszHW8P6QxDEjJ7X6TIYq9jY,157224
397
+ unique_toolkit/language_model/infos.py,sha256=XXXiDl1Hc_Ew2FsclDhIXQRAAhrkQTnaXoEMlrt5DQk,160244
398
398
  unique_toolkit/language_model/invocation_stats.py,sha256=CQbpUz394IsVd8eNTB1gPSMt5f0UXmkN1amNsqtAW6U,5857
399
399
  unique_toolkit/language_model/model_costs.py,sha256=ShuDAzMew1fUkJ3tzPgU5Zqjp6ivUZaG97BFh93tEn4,6358
400
400
  unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
@@ -423,6 +423,6 @@ unique_toolkit/short_term_memory/service.py,sha256=2JMBEBn6GoyK-a0xvdcWpPft-3C74
423
423
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
424
424
  unique_toolkit/smart_rules/compile.py,sha256=vRe0aMJWuVIK-VsqomgxQImzke7MDmwgSxxJfYCa7zw,1386
425
425
  unique_toolkit/test_utilities/events.py,sha256=FLrhMh0A_mQutAUjoD0FdMcVQ4Gq31r35OVGzRjvLro,6760
426
- unique_toolkit-2026.40.0.dev5.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
427
- unique_toolkit-2026.40.0.dev5.dist-info/METADATA,sha256=TB781mnDzgeSR6SyyT5eQZym_pvENv44MlVx-Q8ano4,7821
428
- unique_toolkit-2026.40.0.dev5.dist-info/RECORD,,
426
+ unique_toolkit-2026.40.0.dev7.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
427
+ unique_toolkit-2026.40.0.dev7.dist-info/METADATA,sha256=phNHiRxVXjTPnlFfMP_5jWnpdsYeqvaV2za91B4lzlE,7821
428
+ unique_toolkit-2026.40.0.dev7.dist-info/RECORD,,