TTS
This commit is contained in:
@@ -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[]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user