TTS
All checks were successful
Publish Library / Build NPM Project (push) Successful in 49s
Publish Library / Tag Version (push) Successful in 16s

This commit is contained in:
2026-01-30 15:39:20 -05:00
parent d5bf1ec47e
commit 28904cddbe
10 changed files with 696 additions and 944 deletions

View File

@@ -1,7 +1,6 @@
import {AbortablePromise} from './ai.ts';
import {LLMMessage, LLMOptions, LLMRequest} from './llm.ts';
export type AbortablePromise<T> = Promise<T> & {abort: () => void};
export abstract class LLMProvider {
abstract ask(message: string, options: LLMRequest): AbortablePromise<LLMMessage[]>;
}