chore: glm new model bump
This commit is contained in:
parent
4a24d4d9d8
commit
40895d32af
1 changed files with 6 additions and 6 deletions
|
|
@ -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.";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue