diff --git a/internal/registry/model_definitions.go b/internal/registry/model_definitions.go index ba95b12a..48f64af1 100644 --- a/internal/registry/model_definitions.go +++ b/internal/registry/model_definitions.go @@ -105,6 +105,18 @@ func GetCodeBuddyModels() []*ModelInfo { MaxCompletionTokens: 32768, SupportedEndpoints: []string{"/chat/completions"}, }, + { + ID: "glm-5v-turbo", + Object: "model", + Created: now, + OwnedBy: "tencent", + Type: "codebuddy", + DisplayName: "GLM-5v Turbo", + Description: "GLM-5v Turbo via CodeBuddy", + ContextLength: 200000, + MaxCompletionTokens: 32768, + SupportedEndpoints: []string{"/chat/completions"}, + }, { ID: "glm-5.0-turbo", Object: "model", @@ -113,7 +125,7 @@ func GetCodeBuddyModels() []*ModelInfo { Type: "codebuddy", DisplayName: "GLM-5.0 Turbo", Description: "GLM-5.0 Turbo via CodeBuddy", - ContextLength: 128000, + ContextLength: 200000, MaxCompletionTokens: 32768, SupportedEndpoints: []string{"/chat/completions"}, }, @@ -125,7 +137,7 @@ func GetCodeBuddyModels() []*ModelInfo { Type: "codebuddy", DisplayName: "GLM-5.0", Description: "GLM-5.0 via CodeBuddy", - ContextLength: 128000, + ContextLength: 200000, MaxCompletionTokens: 32768, SupportedEndpoints: []string{"/chat/completions"}, }, @@ -137,7 +149,7 @@ func GetCodeBuddyModels() []*ModelInfo { Type: "codebuddy", DisplayName: "GLM-4.7", Description: "GLM-4.7 via CodeBuddy", - ContextLength: 128000, + ContextLength: 200000, MaxCompletionTokens: 32768, SupportedEndpoints: []string{"/chat/completions"}, }, @@ -161,7 +173,7 @@ func GetCodeBuddyModels() []*ModelInfo { Type: "codebuddy", DisplayName: "Kimi K2.5", Description: "Kimi K2.5 via CodeBuddy", - ContextLength: 128000, + ContextLength: 256000, MaxCompletionTokens: 32768, SupportedEndpoints: []string{"/chat/completions"}, }, @@ -173,7 +185,7 @@ func GetCodeBuddyModels() []*ModelInfo { Type: "codebuddy", DisplayName: "Kimi K2 Thinking", Description: "Kimi K2 Thinking via CodeBuddy", - ContextLength: 128000, + ContextLength: 256000, MaxCompletionTokens: 32768, Thinking: &ThinkingSupport{ZeroAllowed: true}, SupportedEndpoints: []string{"/chat/completions"},