feat: add glm-5.1 to CodeBuddy model list

This commit is contained in:
rensumo
2026-04-09 14:20:26 +08:00
parent e9dc576409
commit 55c146a0e7

View File

@@ -117,6 +117,18 @@ func GetCodeBuddyModels() []*ModelInfo {
MaxCompletionTokens: 32768,
SupportedEndpoints: []string{"/chat/completions"},
},
{
ID: "glm-5.1",
Object: "model",
Created: now,
OwnedBy: "tencent",
Type: "codebuddy",
DisplayName: "GLM-5.1",
Description: "GLM-5.1 via CodeBuddy",
ContextLength: 200000,
MaxCompletionTokens: 32768,
SupportedEndpoints: []string{"/chat/completions"},
},
{
ID: "glm-5.0-turbo",
Object: "model",