refactor: move provider model helpers into plugins

This commit is contained in:
Peter Steinberger
2026-03-27 20:16:35 +00:00
parent 5d3d54ee36
commit c28e76c490
94 changed files with 3455 additions and 611 deletions

View File

@@ -1,11 +1,10 @@
import { OPENCODE_ZEN_DEFAULT_MODEL_REF } from "openclaw/plugin-sdk/provider-models";
import {
applyAgentDefaultModelPrimary,
withAgentModelAliases,
type OpenClawConfig,
} from "openclaw/plugin-sdk/provider-onboard";
export { OPENCODE_ZEN_DEFAULT_MODEL_REF };
export const OPENCODE_ZEN_DEFAULT_MODEL_REF = "opencode/claude-opus-4-6";
export function applyOpencodeZenProviderConfig(cfg: OpenClawConfig): OpenClawConfig {
return {