openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
13 lines (12 loc) • 519 B
TypeScript
import type { OpenClawConfig } from "../config/config.js";
import type { AgentModelListConfig } from "../config/types.js";
export declare function resolvePrimaryModel(model?: AgentModelListConfig | string): string | undefined;
export declare function applyAgentDefaultPrimaryModel(params: {
cfg: OpenClawConfig;
model: string;
legacyModels?: Set<string>;
}): {
next: OpenClawConfig;
changed: boolean;
};
export declare function applyPrimaryModel(cfg: OpenClawConfig, model: string): OpenClawConfig;