UNPKG

erosolar-cli

Version:

Unified AI agent framework for the command line - Multi-provider support with schema-driven tools, code intelligence, and transparent reasoning

18 lines 836 B
import type { LLMProvider, ProviderId, ReasoningEffortLevel, TextVerbosityLevel } from '../core/types.js'; export interface ProviderConfig { provider: ProviderId; model: string; temperature?: number; maxTokens?: number; reasoningEffort?: ReasoningEffortLevel; textVerbosity?: TextVerbosityLevel; } export type ProviderFactory = (config: ProviderConfig) => LLMProvider; export interface RegisterProviderOptions { override?: boolean; } export declare function registerProvider(id: ProviderId, factory: ProviderFactory, options?: RegisterProviderOptions): void; export declare function createProvider(config: ProviderConfig): LLMProvider; export declare function listRegisteredProviders(): ProviderId[]; export declare function hasProvider(id: ProviderId): boolean; //# sourceMappingURL=providerFactory.d.ts.map