mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 08:11:09 +00:00
refactor: isolate provider sdk auth and model helpers
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import { applyAgentDefaultPrimaryModel } from "./model-default.js";
|
||||
|
||||
export const OPENCODE_GO_DEFAULT_MODEL_REF = "opencode-go/kimi-k2.5";
|
||||
|
||||
export function applyOpencodeGoModelDefault(cfg: OpenClawConfig): {
|
||||
next: OpenClawConfig;
|
||||
changed: boolean;
|
||||
} {
|
||||
return applyAgentDefaultPrimaryModel({ cfg, model: OPENCODE_GO_DEFAULT_MODEL_REF });
|
||||
}
|
||||
export {
|
||||
applyOpencodeGoModelDefault,
|
||||
OPENCODE_GO_DEFAULT_MODEL_REF,
|
||||
} from "../plugins/provider-model-defaults.js";
|
||||
|
||||
Reference in New Issue
Block a user