init
All checks were successful
Publish Library / Build NPM Project (push) Successful in 21s
Publish Library / Tag Version (push) Successful in 7s

This commit is contained in:
2025-10-28 22:15:27 -04:00
commit 2e28ffd152
20 changed files with 4713 additions and 0 deletions

7
src/provider.ts Normal file
View File

@@ -0,0 +1,7 @@
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[]>;
}