feat: change Venice default model to GLM 4.7

Changed the default model for Venice AI provider from llama-3.3-70b to
zai-org-glm-4.7 (GLM 4.7), which offers reasoning capabilities and better
performance for general use.

Co-authored-by: jonisjongithub <jonisjongithub@users.noreply.github.com>
Co-authored-by: Clawdbot <bot@clawd.bot>
This commit is contained in:
jonisjongithub 2026-01-26 21:30:02 -08:00
parent 9a2be717b7
commit b007419e88
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import type { ModelDefinitionConfig } from "../config/types.js";
export const VENICE_BASE_URL = "https://api.venice.ai/api/v1";
export const VENICE_DEFAULT_MODEL_ID = "llama-3.3-70b";
export const VENICE_DEFAULT_MODEL_ID = "zai-org-glm-4.7";
export const VENICE_DEFAULT_MODEL_REF = `venice/${VENICE_DEFAULT_MODEL_ID}`;
// Venice uses credit-based pricing, not per-token costs.

View File

@ -344,7 +344,7 @@ export function applyVeniceProviderConfig(cfg: ClawdbotConfig): ClawdbotConfig {
const models = { ...cfg.agents?.defaults?.models };
models[VENICE_DEFAULT_MODEL_REF] = {
...models[VENICE_DEFAULT_MODEL_REF],
alias: models[VENICE_DEFAULT_MODEL_REF]?.alias ?? "Llama 3.3 70B",
alias: models[VENICE_DEFAULT_MODEL_REF]?.alias ?? "GLM 4.7",
};
const providers = { ...cfg.models?.providers };