Skip to content

Commit 099d0d5

Browse files
kylexqianclaude
andcommitted
fix: remove retired CLAUDE_3_5_HAIKU and GROK_2 from TEE_LLM enum
claude-3-5-haiku was retired by Anthropic on Feb 19 2026. grok-2 is discontinued by xAI — the gateway now rejects both with 404. Removing them from the SDK enum so callers get a clear error at the SDK level rather than a 500 from the gateway. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 52ca8ef commit 099d0d5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/opengradient/types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ class TEE_LLM(str, Enum):
500500
GPT_5_2 = "openai/gpt-5.2"
501501

502502
# Anthropic models via TEE
503+
CLAUDE_SONNET_4_0 = "anthropic/claude-sonnet-4-0"
503504
CLAUDE_SONNET_4_5 = "anthropic/claude-sonnet-4-5"
504505
CLAUDE_SONNET_4_6 = "anthropic/claude-sonnet-4-6"
505506
CLAUDE_HAIKU_4_5 = "anthropic/claude-haiku-4-5"
@@ -514,6 +515,8 @@ class TEE_LLM(str, Enum):
514515
GEMINI_3_FLASH = "google/gemini-3-flash-preview"
515516

516517
# xAI Grok models via TEE
518+
GROK_3 = "x-ai/grok-3"
519+
GROK_3_MINI = "x-ai/grok-3-mini"
517520
GROK_4 = "x-ai/grok-4"
518521
GROK_4_FAST = "x-ai/grok-4-fast"
519522
GROK_4_1_FAST = "x-ai/grok-4-1-fast"

0 commit comments

Comments
 (0)