mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-23 07:01:40 +00:00
* perf(inbound): trim dispatch and command startup imports * fix(reply): restore command alias canonicalization * style(reply): format command context * fix(reply): restore runtime shim exports * test(reply): mock ACP route seam * fix(reply): repair dispatch type seams * perf(inbound): defer followup reply helpers * refactor(tts): share auto mode normalization * fix(reply): catch followup compaction notice failures
8 lines
294 B
TypeScript
8 lines
294 B
TypeScript
import type { OpenClawConfig } from "../config/config.js";
|
|
import type { TtsMode } from "../config/types.tts.js";
|
|
export { normalizeTtsAutoMode } from "./tts-auto-mode.js";
|
|
|
|
export function resolveConfiguredTtsMode(cfg: OpenClawConfig): TtsMode {
|
|
return cfg.messages?.tts?.mode ?? "final";
|
|
}
|