Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/litellm_utils_tests/test_anthropic_token_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_token_counter(self) -> BaseTokenCounter:
return AnthropicTokenCounter()

def get_test_model(self) -> str:
return "claude-sonnet-4-20250514"
return "claude-haiku-4-5-20251001"

def get_test_messages(self) -> List[Dict[str, Any]]:
return [{"role": "user", "content": "Hello, how are you today?"}]
Expand Down
2 changes: 1 addition & 1 deletion tests/local_testing/test_function_calling.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_aaparallel_function_call(model):
@pytest.mark.parametrize(
"model",
[
"anthropic/claude-4-sonnet-20250514",
"anthropic/claude-haiku-4-5-20251001",
"bedrock/us.anthropic.claude-sonnet-4-5-20250929-v1:0",
],
)
Expand Down
4 changes: 2 additions & 2 deletions tests/local_testing/test_streaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ def test_bedrock_claude_3_streaming():
@pytest.mark.parametrize(
"model",
[
"claude-4-sonnet-20250514",
"claude-haiku-4-5-20251001",
"cohere.command-r-plus-v1:0", # bedrock
"gpt-3.5-turbo",
],
Expand Down Expand Up @@ -2696,7 +2696,7 @@ def test_completion_claude_3_function_call_with_streaming():
try:
# test without max tokens
response = completion(
model="claude-4-sonnet-20250514",
model="claude-haiku-4-5-20251001",
messages=messages,
tools=tools,
tool_choice="required",
Expand Down
4 changes: 2 additions & 2 deletions tests/pass_through_tests/base_anthropic_messages_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_anthropic_messages_with_thinking(self):
print("making request to anthropic passthrough with thinking")
client = self.get_client()
response = client.messages.create(
model="claude-4-sonnet-20250514",
model="claude-haiku-4-5-20251001",
max_tokens=20000,
thinking={"type": "enabled", "budget_tokens": 16000},
messages=[
Expand All @@ -75,7 +75,7 @@ def test_anthropic_streaming_with_thinking(self):
collected_response = []
client = self.get_client()
with client.messages.stream(
model="claude-4-sonnet-20250514",
model="claude-haiku-4-5-20251001",
max_tokens=20000,
thinking={"type": "enabled", "budget_tokens": 16000},
messages=[
Expand Down
2 changes: 1 addition & 1 deletion tests/pass_through_tests/test_anthropic_passthrough.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ async def test_anthropic_messages_streaming_cost_injection():
}

payload = {
"model": "claude-4-sonnet-20250514",
"model": "claude-haiku-4-5-20251001",
"max_tokens": 10,
"stream": True,
"messages": [{"role": "user", "content": "Say 'Hi'"}],
Expand Down
Loading