From b12df1a6366bc50a89395edd0a570ddf7793efcc Mon Sep 17 00:00:00 2001 From: Rodin Date: Sat, 9 May 2026 23:36:42 -0700 Subject: [PATCH] test: update Anthropic test to check anthropic_version instead of model --- llm/aicore_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llm/aicore_test.go b/llm/aicore_test.go index cb8d9de..0a8c9de 100644 --- a/llm/aicore_test.go +++ b/llm/aicore_test.go @@ -206,8 +206,8 @@ func TestAICoreClient_CompleteAnthropic(t *testing.T) { if err := json.NewDecoder(r.Body).Decode(&req); err != nil { t.Fatalf("decode request: %v", err) } - if req.Model != "anthropic--claude-4.6-sonnet" { - t.Errorf("expected model name in request") + if req.AnthropicVersion != "2023-06-01" { + t.Errorf("expected anthropic_version in request") } if req.System != "You are helpful" { t.Errorf("expected system prompt: %q", req.System)