UNPKG

@meldscience/meld

Version:

pipeable one-shot prompt scripting toolkit

24 lines (23 loc) 708 B
export interface ToolConfig { defaultModel?: string; defaultOneshotModel?: string; defaultOneshotcatModel?: string; anthropicApiKey?: string; openaiApiKey?: string; modelAliases?: { [key: string]: string; }; } export declare const RC_FILE = ".meldrc"; export declare function loadConfig(options?: Partial<ToolConfig>): ToolConfig; export declare function setupConfig(options: { anthropicApiKey?: string; openaiApiKey?: string; defaultModel?: string; defaultOneshotModel?: string; defaultOneshotcatModel?: string; modelAliases?: { [key: string]: string; }; }): void; export declare function checkAndPromptConfig(models: string[]): void;