mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
18 lines
485 B
TypeScript
18 lines
485 B
TypeScript
import {
|
|
applyAgentDefaultModelPrimary,
|
|
type OpenClawConfig,
|
|
} from "openclaw/plugin-sdk/provider-onboard";
|
|
|
|
export const OPENCODE_GO_DEFAULT_MODEL_REF = "opencode-go/kimi-k2.6";
|
|
|
|
export function applyOpencodeGoProviderConfig(cfg: OpenClawConfig): OpenClawConfig {
|
|
return cfg;
|
|
}
|
|
|
|
export function applyOpencodeGoConfig(cfg: OpenClawConfig): OpenClawConfig {
|
|
return applyAgentDefaultModelPrimary(
|
|
applyOpencodeGoProviderConfig(cfg),
|
|
OPENCODE_GO_DEFAULT_MODEL_REF,
|
|
);
|
|
}
|