mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
fix(qqbot): remove dead tts config aliases
This commit is contained in:
@@ -207,26 +207,6 @@ type QQBotTtsBlock = QQBotTtsProviderConfig & {
|
||||
speed?: number;
|
||||
};
|
||||
|
||||
type QQBotMessagesTtsConfig = {
|
||||
auto?: string;
|
||||
enabled?: boolean;
|
||||
provider?: string;
|
||||
} & Record<string, unknown>;
|
||||
|
||||
type QQBotTtsConfigRoot = {
|
||||
channels?: {
|
||||
qqbot?: {
|
||||
tts?: QQBotTtsBlock & { enabled?: boolean; provider?: string };
|
||||
};
|
||||
};
|
||||
models?: {
|
||||
providers?: Record<string, QQBotTtsProviderConfig>;
|
||||
};
|
||||
messages?: {
|
||||
tts?: QQBotMessagesTtsConfig;
|
||||
};
|
||||
};
|
||||
|
||||
function asRecord(value: unknown): Record<string, unknown> | undefined {
|
||||
return typeof value === "object" && value !== null
|
||||
? (value as Record<string, unknown>)
|
||||
|
||||
Reference in New Issue
Block a user