mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 04:10:43 +00:00
TTS: add provider personas
This commit is contained in:
@@ -65,6 +65,8 @@ import type {
|
||||
SpeechProviderResolveTalkConfigContext,
|
||||
SpeechProviderResolveTalkOverridesContext,
|
||||
SpeechListVoicesRequest,
|
||||
SpeechProviderPrepareSynthesisContext,
|
||||
SpeechProviderPreparedSynthesis,
|
||||
SpeechProviderId,
|
||||
SpeechSynthesisRequest,
|
||||
SpeechSynthesisResult,
|
||||
@@ -1724,6 +1726,12 @@ export type SpeechProviderPlugin = {
|
||||
resolveTalkOverrides?: (
|
||||
ctx: SpeechProviderResolveTalkOverridesContext,
|
||||
) => SpeechProviderConfig | undefined;
|
||||
prepareSynthesis?: (
|
||||
ctx: SpeechProviderPrepareSynthesisContext,
|
||||
) =>
|
||||
| SpeechProviderPreparedSynthesis
|
||||
| undefined
|
||||
| Promise<SpeechProviderPreparedSynthesis | undefined>;
|
||||
isConfigured: (ctx: SpeechProviderConfiguredContext) => boolean;
|
||||
synthesize: (req: SpeechSynthesisRequest) => Promise<SpeechSynthesisResult>;
|
||||
synthesizeTelephony?: (
|
||||
|
||||
Reference in New Issue
Block a user