feat:add tts-streaming config and future (#5492)

This commit is contained in:
chenxu9741 2024-07-09 11:33:58 +08:00 • committed by GitHub
commit 6ef401a9f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 1280 additions and 358 deletions

View file

@ -160,6 +160,7 @@ export type ModelConfig = {
enabled: boolean
voice?: string
language?: string
autoPlay?: TtsAutoPlay
}
retriever_resource: {
enabled: boolean
@ -349,6 +350,11 @@ export enum TransferMethod {
remote_url = 'remote_url',
}
export enum TtsAutoPlay {
enabled = 'enabled',
disabled = 'disabled',
}
export const ALLOW_FILE_EXTENSIONS = ['png', 'jpg', 'jpeg', 'webp', 'gif']
export type VisionSettings = {