@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
14 lines (13 loc) • 508 B
TypeScript
import { type ModelRef } from "../../agents/model-selection.js";
import type { OpenClawConfig } from "../../config/config.js";
export type ModelPickerCatalogEntry = {
provider: string;
id: string;
name?: string;
};
export type ModelPickerItem = ModelRef;
export declare function buildModelPickerItems(catalog: ModelPickerCatalogEntry[]): ModelPickerItem[];
export declare function resolveProviderEndpointLabel(provider: string, cfg: OpenClawConfig): {
endpoint?: string;
api?: string;
};