unique_toolkit 1.4.1__py3-none-any.whl → 1.4.2__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.
@@ -37,7 +37,9 @@ class LanguageModelName(StrEnum):
37
37
  "litellm:anthropic-claude-3-7-sonnet-thinking"
38
38
  )
39
39
  ANTHROPIC_CLAUDE_SONNET_4 = "litellm:anthropic-claude-sonnet-4"
40
+ ANTHROPIC_CLAUDE_SONNET_4_5 = "litellm:anthropic-claude-sonnet-4-5"
40
41
  ANTHROPIC_CLAUDE_OPUS_4 = "litellm:anthropic-claude-opus-4"
42
+ ANTHROPIC_CLAUDE_OPUS_4_1 = "litellm:anthropic-claude-opus-4-1"
41
43
  GEMINI_2_0_FLASH = "litellm:gemini-2-0-flash"
42
44
  GEMINI_2_5_FLASH = "litellm:gemini-2-5-flash"
43
45
  GEMINI_2_5_FLASH_LITE_PREVIEW_0617 = "litellm:gemini-2-5-flash-lite-preview-06-17"
@@ -663,6 +665,26 @@ class LanguageModelInfo(BaseModel):
663
665
  info_cutoff_at=date(2025, 3, 1),
664
666
  published_at=date(2025, 5, 1),
665
667
  )
668
+ case LanguageModelName.ANTHROPIC_CLAUDE_SONNET_4_5:
669
+ return cls(
670
+ name=model_name,
671
+ capabilities=[
672
+ ModelCapabilities.FUNCTION_CALLING,
673
+ ModelCapabilities.STREAMING,
674
+ ModelCapabilities.VISION,
675
+ ModelCapabilities.REASONING,
676
+ ],
677
+ provider=LanguageModelProvider.LITELLM,
678
+ version="claude-sonnet-4-5",
679
+ encoder_name=EncoderName.O200K_BASE, # TODO: Update encoder with litellm
680
+ token_limits=LanguageModelTokenLimits(
681
+ # Input limit is 200_000, we leave 20_000 tokens as buffer due to tokenizer mismatch
682
+ token_limit_input=200_000,
683
+ token_limit_output=64_000,
684
+ ),
685
+ info_cutoff_at=date(2025, 7, 1),
686
+ published_at=date(2025, 9, 29),
687
+ )
666
688
  case LanguageModelName.ANTHROPIC_CLAUDE_OPUS_4:
667
689
  return cls(
668
690
  name=model_name,
@@ -683,6 +705,25 @@ class LanguageModelInfo(BaseModel):
683
705
  info_cutoff_at=date(2025, 3, 1),
684
706
  published_at=date(2025, 5, 1),
685
707
  )
708
+ case LanguageModelName.ANTHROPIC_CLAUDE_OPUS_4_1:
709
+ return cls(
710
+ name=model_name,
711
+ capabilities=[
712
+ ModelCapabilities.FUNCTION_CALLING,
713
+ ModelCapabilities.STREAMING,
714
+ ModelCapabilities.VISION,
715
+ ModelCapabilities.REASONING,
716
+ ],
717
+ provider=LanguageModelProvider.LITELLM,
718
+ version="claude-opus-4",
719
+ encoder_name=EncoderName.O200K_BASE, # TODO: Update encoder with litellm
720
+ token_limits=LanguageModelTokenLimits(
721
+ token_limit_input=200_000,
722
+ token_limit_output=32_000,
723
+ ),
724
+ info_cutoff_at=date(2025, 3, 1),
725
+ published_at=date(2025, 5, 1),
726
+ )
686
727
  case LanguageModelName.GEMINI_2_0_FLASH:
687
728
  return cls(
688
729
  name=model_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 1.4.1
3
+ Version: 1.4.2
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Cedric Klinkert
@@ -118,6 +118,9 @@ All notable changes to this project will be documented in this file.
118
118
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
119
119
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
120
120
 
121
+ ## [1.4.2] - 2025-09-30
122
+ - Adding litellm models `litellm:anthropic-claude-sonnet-4-5` and `litellm:anthropic-claude-opus-4-1`
123
+
121
124
  ## [1.4.1] - 2025-09-30
122
125
  - Handle sub agent failed assessments better in sub agent evaluator.
123
126
 
@@ -123,7 +123,7 @@ unique_toolkit/language_model/__init__.py,sha256=lRQyLlbwHbNFf4-0foBU13UGb09lwEe
123
123
  unique_toolkit/language_model/builder.py,sha256=4OKfwJfj3TrgO1ezc_ewIue6W7BCQ2ZYQXUckWVPPTA,3369
124
124
  unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qzIHUCBS7YJ0-1U,119
125
125
  unique_toolkit/language_model/functions.py,sha256=PNCmbYovhgMSkY89p7-3DunG6jIekaZPvhh3iplG1Vg,16720
126
- unique_toolkit/language_model/infos.py,sha256=eHln--Y5f6znFxknV6A8m-fRaEpH5-kmRh9m-ZWqco4,57188
126
+ unique_toolkit/language_model/infos.py,sha256=jc53AfqUyhgDRSK-nIK2S8d1RsedTNyyE_QQgGG_RFk,59256
127
127
  unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
128
128
  unique_toolkit/language_model/reference.py,sha256=nkX2VFz-IrUz8yqyc3G5jUMNwrNpxITBrMEKkbqqYoI,8583
129
129
  unique_toolkit/language_model/schemas.py,sha256=w23zH2OAYkTsS-wAqelUdhO9TCgis0TbFa8PszmhZYY,16501
@@ -137,7 +137,7 @@ unique_toolkit/short_term_memory/schemas.py,sha256=OhfcXyF6ACdwIXW45sKzjtZX_gkcJ
137
137
  unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBuE9sI2o9Aajqjxg,8884
138
138
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
139
139
  unique_toolkit/smart_rules/compile.py,sha256=cxWjb2dxEI2HGsakKdVCkSNi7VK9mr08w5sDcFCQyWI,9553
140
- unique_toolkit-1.4.1.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
141
- unique_toolkit-1.4.1.dist-info/METADATA,sha256=XwdO5BNQidG6zSM_lKxs4SZQYeALlNREgBWrygFFw7o,33949
142
- unique_toolkit-1.4.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
143
- unique_toolkit-1.4.1.dist-info/RECORD,,
140
+ unique_toolkit-1.4.2.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
141
+ unique_toolkit-1.4.2.dist-info/METADATA,sha256=aIA-PciV6Tv8mVFR3uJFxGXqFAQ_-mtJ8-1X-he1ehQ,34076
142
+ unique_toolkit-1.4.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
143
+ unique_toolkit-1.4.2.dist-info/RECORD,,