TTS
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import {JSONAttemptParse} from '@ztimson/utils';
|
||||
import {Ai} from './ai.ts';
|
||||
import {AbortablePromise, Ai} from './ai.ts';
|
||||
import {Anthropic} from './antrhopic.ts';
|
||||
import {Ollama} from './ollama.ts';
|
||||
import {OpenAi} from './open-ai.ts';
|
||||
import {AbortablePromise, LLMProvider} from './provider.ts';
|
||||
import {LLMProvider} from './provider.ts';
|
||||
import {AiTool} from './tools.ts';
|
||||
import {Worker} from 'worker_threads';
|
||||
import {fileURLToPath} from 'url';
|
||||
@@ -73,7 +73,7 @@ export type LLMRequest = {
|
||||
/** LLM model */
|
||||
model?: string | [string, string];
|
||||
/** Stream response */
|
||||
stream?: (chunk: {text?: string, done?: true}) => any;
|
||||
stream?: (chunk: {text?: string, tool?: string, done?: true}) => any;
|
||||
/** Compress old messages in the chat to free up context */
|
||||
compress?: {
|
||||
/** Trigger chat compression once context exceeds the token count */
|
||||
|
||||
Reference in New Issue
Block a user