Skip to content

Commit 4f18de0

Browse files
committed
chore: Bump version to 2.4.0 and add Claude Sonnet 4.6 model support
- Updated version to 2.4.0 in setup.py and __init__.py. - Added claude_sonnet_4_6 model constant to models_constants.py for Anthropic. - Updated AWS Bedrock constants to include claude_sonnet_4_6.
1 parent 61af386 commit 4f18de0

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

cost_katana/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
get_provider_from_model,
4444
)
4545

46-
__version__ = "2.3.0"
46+
__version__ = "2.4.0"
4747

4848
# Import configure function from client
4949
from .client import configure

cost_katana/models_constants.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ class anthropic:
136136
# Claude 4.6 Series (Latest)
137137
claude_opus_4_6 = 'claude-opus-4-6'
138138
claude_opus_4_6_v1 = 'claude-opus-4-6-v1'
139+
claude_sonnet_4_6 = 'claude-sonnet-4-6'
139140

140-
# Claude 4.5 Series (Latest)
141+
# Claude 4.5 Series
141142
claude_sonnet_4_5_20250929 = 'claude-sonnet-4-5-20250929'
142143
claude_sonnet_4_5 = 'claude-sonnet-4-5'
143144
claude_haiku_4_5_20251001 = 'claude-haiku-4-5-20251001'
@@ -277,6 +278,7 @@ class aws_bedrock:
277278

278279
# Anthropic Claude on Bedrock
279280
claude_opus_4_6 = 'anthropic.claude-opus-4-6-v1'
281+
claude_sonnet_4_6 = 'anthropic.claude-sonnet-4-6-v1:0'
280282
claude_sonnet_4_5 = 'anthropic.claude-sonnet-4-5-v1:0'
281283
claude_haiku_4_5 = 'anthropic.claude-haiku-4-5-v1:0'
282284
claude_opus_4_1_20250805 = 'anthropic.claude-opus-4-1-20250805-v1:0'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name="cost-katana",
17-
version="2.3.0",
17+
version="2.4.0",
1818
author="Cost Katana Team",
1919
author_email="support@costkatana.com",
2020
description="The simplest way to use AI in Python with automatic cost tracking and optimization",

0 commit comments

Comments
 (0)