Files
openclaw/src/commitments/model-selection.runtime.ts
2026-05-01 03:12:55 +01:00

10 lines
328 B
TypeScript

import { resolveDefaultModelForAgent } from "../agents/model-selection.js";
import type { OpenClawConfig } from "../config/config.js";
export function resolveCommitmentDefaultModelRef(params: {
cfg: OpenClawConfig;
agentId?: string;
}): { provider: string; model: string } {
return resolveDefaultModelForAgent(params);
}