mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-09 18:42:58 +00:00
30 lines
854 B
TypeScript
30 lines
854 B
TypeScript
import type { OpenClawConfig } from "../config/types.openclaw.js";
|
|
import type {
|
|
ResolvedTtsPersona,
|
|
TtsAutoMode,
|
|
TtsConfig,
|
|
TtsMode,
|
|
TtsProvider,
|
|
} from "../config/types.tts.js";
|
|
import type { SpeechModelOverridePolicy, SpeechProviderConfig } from "./provider-types.js";
|
|
|
|
export type ResolvedTtsModelOverrides = SpeechModelOverridePolicy;
|
|
|
|
export type ResolvedTtsConfig = {
|
|
auto: TtsAutoMode;
|
|
mode: TtsMode;
|
|
provider: TtsProvider;
|
|
providerSource: "config" | "default";
|
|
persona?: string;
|
|
personas: Record<string, ResolvedTtsPersona>;
|
|
summaryModel?: string;
|
|
modelOverrides: ResolvedTtsModelOverrides;
|
|
providerConfigs: Record<string, SpeechProviderConfig>;
|
|
prefsPath?: string;
|
|
maxTextLength: number;
|
|
timeoutMs: number;
|
|
timeoutMsSource?: "config" | "default";
|
|
rawConfig?: TtsConfig;
|
|
sourceConfig?: OpenClawConfig;
|
|
};
|