From 9bc6cc5b4169fc5dc40465d097f5ce3308ec6de6 Mon Sep 17 00:00:00 2001 From: Ravindra Barthwal Date: Sat, 7 Feb 2026 14:58:34 +0530 Subject: [PATCH] feat: add Claude Opus 4.6 to GitHub Copilot models GitHub Copilot now supports claude-opus-4.6 but it was missing from the proxy's model definitions. Fixes #196. --- internal/registry/model_definitions.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/internal/registry/model_definitions.go b/internal/registry/model_definitions.go index 0967db60..d26cffce 100644 --- a/internal/registry/model_definitions.go +++ b/internal/registry/model_definitions.go @@ -277,6 +277,18 @@ func GetGitHubCopilotModels() []*ModelInfo { MaxCompletionTokens: 64000, SupportedEndpoints: []string{"/chat/completions"}, }, + { + ID: "claude-opus-4.6", + Object: "model", + Created: now, + OwnedBy: "github-copilot", + Type: "github-copilot", + DisplayName: "Claude Opus 4.6", + Description: "Anthropic Claude Opus 4.6 via GitHub Copilot", + ContextLength: 200000, + MaxCompletionTokens: 64000, + SupportedEndpoints: []string{"/chat/completions"}, + }, { ID: "claude-sonnet-4", Object: "model",