Merge b007419e88 into bc432d8435
This commit is contained in:
commit
8cd64a9523
@ -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.
|
||||
|
||||
@ -417,7 +417,7 @@ export function applyVeniceProviderConfig(cfg: OpenClawConfig): OpenClawConfig {
|
||||
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 };
|
||||
|
||||
Loading…
Reference in New Issue
Block a user