trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
11 lines • 540 B
TypeScript
/**
* Base LLM Provider Implementation
*/
import { LLMProvider, LLMMessage, LLMCompletionOptions, LLMCompletionResponse, LLMCompletionChunk } from './types.js';
export declare abstract class BaseLLMProvider implements LLMProvider {
abstract id: string;
abstract name: string;
abstract complete(messages: LLMMessage[], options?: LLMCompletionOptions): Promise<LLMCompletionResponse>;
stream(messages: LLMMessage[], options?: LLMCompletionOptions): AsyncIterable<LLMCompletionChunk>;
}
//# sourceMappingURL=provider.d.ts.map