chore: glm new model bump

This commit is contained in:
Rasyidan Akbar F. 2026-03-27 21:55:52 +07:00
commit 40895d32af

View file

@ -110,17 +110,17 @@ in
}; };
opusModel = mkOption { opusModel = mkOption {
type = types.str; type = types.str;
default = "glm-5"; default = "glm-5.1";
description = "Model identifier passed via ANTHROPIC_DEFAULT_OPUS_MODEL."; description = "Model identifier passed via ANTHROPIC_DEFAULT_OPUS_MODEL.";
}; };
sonnetModel = mkOption { sonnetModel = mkOption {
type = types.str; type = types.str;
default = "glm-5"; default = "glm-5.1";
description = "Model identifier passed via ANTHROPIC_DEFAULT_SONNET_MODEL."; description = "Model identifier passed via ANTHROPIC_DEFAULT_SONNET_MODEL.";
}; };
haikuModel = mkOption { haikuModel = mkOption {
type = types.str; type = types.str;
default = "glm-5"; default = "glm-5.1";
description = "Model identifier passed via ANTHROPIC_DEFAULT_HAIKU_MODEL."; description = "Model identifier passed via ANTHROPIC_DEFAULT_HAIKU_MODEL.";
}; };
tokenEnvVar = mkOption { tokenEnvVar = mkOption {
@ -134,9 +134,9 @@ in
enable = false; enable = false;
commandName = "glm"; commandName = "glm";
baseUrl = "https://api.z.ai/api/anthropic"; baseUrl = "https://api.z.ai/api/anthropic";
opusModel = "glm-5"; opusModel = "glm-5.1";
sonnetModel = "glm-5"; sonnetModel = "glm-5.1";
haikuModel = "glm-5"; haikuModel = "glm-5.1";
tokenEnvVar = "ZAI_API_KEY"; tokenEnvVar = "ZAI_API_KEY";
}; };
description = "Configuration for the Claude wrapper that targets the Z.AI gateway."; description = "Configuration for the Claude wrapper that targets the Z.AI gateway.";