unique_toolkit 2026.40.0.dev5__py3-none-any.whl → 2026.40.0.dev6__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"
@@ -2322,6 +2323,34 @@ class LanguageModelInfo(BaseModel):
2322
2323
  supported_reasoning_efforts=["low", "medium", "high", "xhigh"],
2323
2324
  default_options={"reasoning_effort": "high"},
2324
2325
  )
2326
+ case LanguageModelName.GROK_4_7:
2327
+ # Specs from https://docs.x.ai/developers/models/grok-4.7
2328
+ # Knowledge cutoff from https://docs.x.ai/developers/models
2329
+ # Published 2026-09-21: https://vercel.com/changelog/grok-4-7-now-available-and-40-off-on-ai-gateway-fx-eve
2330
+ return cls(
2331
+ name=model_name,
2332
+ capabilities=[
2333
+ ModelCapabilities.FUNCTION_CALLING,
2334
+ ModelCapabilities.REASONING,
2335
+ ModelCapabilities.STREAMING,
2336
+ ModelCapabilities.STRUCTURED_OUTPUT,
2337
+ ModelCapabilities.VISION,
2338
+ ],
2339
+ provider=LanguageModelProvider.LITELLM,
2340
+ family=ModelFamily.XAI,
2341
+ version="grok-4.7",
2342
+ encoder_name=EncoderName.O200K_BASE, # TODO: Update encoder with grok tokenizer
2343
+ token_limits=LanguageModelTokenLimits(
2344
+ # Context window is 500_000, we leave 20_000 tokens as buffer due to tokenizer mismatch
2345
+ # Assign 90% for input and 10% for output
2346
+ token_limit_input=int(480_000 * 0.9),
2347
+ token_limit_output=int(480_000 * 0.1),
2348
+ ),
2349
+ info_cutoff_at=date(2026, 5, day=1),
2350
+ published_at=date(2026, 9, day=21),
2351
+ supported_reasoning_efforts=["low", "medium", "high", "xhigh"],
2352
+ default_options={"reasoning_effort": "high"},
2353
+ )
2325
2354
  case LanguageModelName.LITELLM_OPENAI_GPT_5:
2326
2355
  return cls(
2327
2356
  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.dev6
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=7SWbktrOHKQhNJQtEYRJUC05gmPLXkUzQvJYNX4JaTk,158888
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.dev6.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
427
+ unique_toolkit-2026.40.0.dev6.dist-info/METADATA,sha256=vbzpuiTtX4OvAZk4O3wrQY-ie0UYxA8ga5WiI0BjrW4,7821
428
+ unique_toolkit-2026.40.0.dev6.dist-info/RECORD,,