updating the CLI and demos to support anthropic vs. claude

This commit is contained in:
Salman Paracha 2025-09-04 15:16:21 -07:00
parent ecf453ed70
commit 412b5b450a
5 changed files with 7 additions and 8 deletions

View file

@ -526,13 +526,13 @@ static_resources:
tls_minimum_protocol_version: TLSv1_2
tls_maximum_protocol_version: TLSv1_3
- name: claude
- name: anthropic
connect_timeout: 0.5s
type: LOGICAL_DNS
dns_lookup_family: V4_ONLY
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: claude
cluster_name: anthropic
endpoints:
- lb_endpoints:
- endpoint:

View file

@ -8,12 +8,12 @@ from urllib.parse import urlparse
SUPPORTED_PROVIDERS = [
"arch",
"claude",
"deepseek",
"groq",
"mistral",
"openai",
"gemini",
"anthropic",
]

View file

@ -7,7 +7,6 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import java.time.Instant;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

View file

@ -23,10 +23,10 @@ llm_providers:
model: mistral/ministral-3b-latest
- access_key: $ANTHROPIC_API_KEY
model: claude/claude-3-7-sonnet-latest
model: anthropic/claude-3-7-sonnet-latest
- access_key: $ANTHROPIC_API_KEY
model: claude/claude-sonnet-4-0
model: anthropic/claude-sonnet-4-0
- access_key: $DEEPSEEK_API_KEY
model: deepseek/deepseek-reasoner

View file

@ -19,8 +19,8 @@ llm_providers:
- name: code understanding
description: understand and explain existing code snippets, functions, or libraries
- model: openai/gpt-4.1
access_key: $OPENAI_API_KEY
- model: anthropic/claude-sonnet-4-20250514
access_key: $ANTHROPIC_API_KEY
routing_preferences:
- name: code generation
description: generating new code snippets, functions, or boilerplate based on user prompts or requirements