mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 04:09:35 +00:00
refactor: centralize talk silence timeout defaults
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
} from "../discord/monitor/timeouts.js";
|
||||
import { MEDIA_AUDIO_FIELD_HELP } from "./media-audio-field-metadata.js";
|
||||
import { IRC_FIELD_HELP } from "./schema.irc.js";
|
||||
import { describeTalkSilenceTimeoutDefaults } from "./talk-defaults.js";
|
||||
|
||||
export const FIELD_HELP: Record<string, string> = {
|
||||
meta: "Metadata fields automatically maintained by OpenClaw to record write/version history for this config file. Keep these values system-managed and avoid manual edits unless debugging migration history.",
|
||||
@@ -163,8 +164,7 @@ export const FIELD_HELP: Record<string, string> = {
|
||||
"Use this legacy ElevenLabs API key for Talk mode only during migration, and keep secrets in env-backed storage. Prefer talk.providers.elevenlabs.apiKey (fallback: ELEVENLABS_API_KEY).",
|
||||
"talk.interruptOnSpeech":
|
||||
"If true (default), stop assistant speech when the user starts speaking in Talk mode. Keep enabled for conversational turn-taking.",
|
||||
"talk.silenceTimeoutMs":
|
||||
"Milliseconds of user silence before Talk mode finalizes and sends the current transcript. Leave unset to keep the platform default pause window (700 ms on macOS and Android, 900 ms on iOS).",
|
||||
"talk.silenceTimeoutMs": `Milliseconds of user silence before Talk mode finalizes and sends the current transcript. Leave unset to keep the platform default pause window (${describeTalkSilenceTimeoutDefaults()}).`,
|
||||
acp: "ACP runtime controls for enabling dispatch, selecting backends, constraining allowed agent targets, and tuning streamed turn projection behavior.",
|
||||
"acp.enabled":
|
||||
"Global ACP feature gate. Keep disabled unless ACP runtime + policy are configured.",
|
||||
|
||||
Reference in New Issue
Block a user