unique_toolkit 2026.38.0.dev2__py3-none-any.whl → 2026.38.0.dev3__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.
@@ -110,6 +110,7 @@ class LanguageModelName(StrEnum):
110
110
  GROK_4_1_FAST_NON_REASONING = "litellm:grok-4-1-fast-non-reasoning"
111
111
  GROK_4_1_FAST_REASONING = "litellm:grok-4-1-fast-reasoning"
112
112
  GROK_4_5 = "litellm:grok-4-5"
113
+ GROK_4_6 = "litellm:grok-4-6"
113
114
  LITELLM_OPENAI_GPT_5 = "litellm:openai-gpt-5"
114
115
  LITELLM_OPENAI_GPT_5_MINI = "litellm:openai-gpt-5-mini"
115
116
  LITELLM_OPENAI_GPT_5_NANO = "litellm:openai-gpt-5-nano"
@@ -2195,6 +2196,33 @@ class LanguageModelInfo(BaseModel):
2195
2196
  published_at=date(2026, 7, 16),
2196
2197
  supported_reasoning_efforts=["low", "medium", "high"],
2197
2198
  )
2199
+ case LanguageModelName.GROK_4_6:
2200
+ # Specs from https://docs.x.ai/developers/grok-4-6
2201
+ # Announcement date from https://x.ai/news/grok-4-6
2202
+ return cls(
2203
+ name=model_name,
2204
+ capabilities=[
2205
+ ModelCapabilities.FUNCTION_CALLING,
2206
+ ModelCapabilities.REASONING,
2207
+ ModelCapabilities.STREAMING,
2208
+ ModelCapabilities.STRUCTURED_OUTPUT,
2209
+ ModelCapabilities.VISION,
2210
+ ],
2211
+ provider=LanguageModelProvider.LITELLM,
2212
+ family=ModelFamily.XAI,
2213
+ version="grok-4-6",
2214
+ encoder_name=EncoderName.O200K_BASE, # TODO: Update encoder with grok tokenizer
2215
+ token_limits=LanguageModelTokenLimits(
2216
+ # Context window is 500_000, we leave 20_000 tokens as buffer due to tokenizer mismatch
2217
+ # Assign 90% for input and 10% for output
2218
+ token_limit_input=int(480_000 * 0.9),
2219
+ token_limit_output=int(480_000 * 0.1),
2220
+ ),
2221
+ info_cutoff_at=date(2026, 1, day=1),
2222
+ published_at=date(2026, 8, 12),
2223
+ supported_reasoning_efforts=["low", "medium", "high", "xhigh"],
2224
+ default_options={"reasoning_effort": "high"},
2225
+ )
2198
2226
  case LanguageModelName.LITELLM_OPENAI_GPT_5:
2199
2227
  return cls(
2200
2228
  name=model_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: unique-toolkit
3
- Version: 2026.38.0.dev2
3
+ Version: 2026.38.0.dev3
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>
@@ -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=TY4HtNbOxwokq3YW4QNiAyA8eq2ZvzzaRhGAfDkKG3M,149525
397
+ unique_toolkit/language_model/infos.py,sha256=NWVMUxcL4lOHmgNmEXZyj7qTq-mt_gfYYWGMweCRtlE,151046
398
398
  unique_toolkit/language_model/invocation_stats.py,sha256=CQbpUz394IsVd8eNTB1gPSMt5f0UXmkN1amNsqtAW6U,5857
399
399
  unique_toolkit/language_model/model_costs.py,sha256=SMYhikdN4h_qMUKKrpHYyYO5o4MW_QlZGGEr643Hw0M,4354
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.38.0.dev2.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
426
- unique_toolkit-2026.38.0.dev2.dist-info/METADATA,sha256=GxmLZU9cThG9AWrCXho8un_5tr73a85ZeZXJPu4-NXo,7821
427
- unique_toolkit-2026.38.0.dev2.dist-info/RECORD,,
425
+ unique_toolkit-2026.38.0.dev3.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
426
+ unique_toolkit-2026.38.0.dev3.dist-info/METADATA,sha256=H-VhuBOxxuSasxWqrMVlrgkqczeTZDaws2LOBGTGBsw,7821
427
+ unique_toolkit-2026.38.0.dev3.dist-info/RECORD,,