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:
parent
9a2be717b7
commit
b007419e88
@ -1,7 +1,7 @@
|
|||||||
import type { ModelDefinitionConfig } from "../config/types.js";
|
import type { ModelDefinitionConfig } from "../config/types.js";
|
||||||
|
|
||||||
export const VENICE_BASE_URL = "https://api.venice.ai/api/v1";
|
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}`;
|
export const VENICE_DEFAULT_MODEL_REF = `venice/${VENICE_DEFAULT_MODEL_ID}`;
|
||||||
|
|
||||||
// Venice uses credit-based pricing, not per-token costs.
|
// Venice uses credit-based pricing, not per-token costs.
|
||||||
|
|||||||
@ -344,7 +344,7 @@ export function applyVeniceProviderConfig(cfg: ClawdbotConfig): ClawdbotConfig {
|
|||||||
const models = { ...cfg.agents?.defaults?.models };
|
const models = { ...cfg.agents?.defaults?.models };
|
||||||
models[VENICE_DEFAULT_MODEL_REF] = {
|
models[VENICE_DEFAULT_MODEL_REF] = {
|
||||||
...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 };
|
const providers = { ...cfg.models?.providers };
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user