Merge pull request #501 from Ve-ria/main

feat: add glm-5.1 to CodeBuddy model list
This commit is contained in:
Supra4E8C
2026-04-09 14:37:28 +08:00
committed by GitHub

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",