openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
8 lines (7 loc) • 374 B
TypeScript
/** Provider/model pair parsed from a generation model reference like `provider/model`. */
export type ParsedGenerationModelRef = {
provider: string;
model: string;
};
/** Parses strict generation model refs and rejects missing provider or model segments. */
export declare function parseGenerationModelRef(raw: string | undefined): ParsedGenerationModelRef | null;