惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
量子位
GbyAI
GbyAI
腾讯CDC
T
Tailwind CSS Blog
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
D
Docker
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
Netflix TechBlog - Medium
Jina AI
Jina AI
IT之家
IT之家
Y
Y Combinator Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
feat(discord): allow voice model override · openclaw/open...
steipete · 2026-04-25 · via Recent Commits to openclaw:main

@@ -961,14 +961,23 @@ Discord has two distinct voice surfaces: realtime **voice channels** (continuous

961961962962

### Voice channels

963963964-

Requirements:

964+

Setup checklist:

965965966-

- Enable native commands (`commands.native` or `channels.discord.commands.native`).

967-

- Configure `channels.discord.voice`.

968-

- The bot needs Connect + Speak permissions in the target voice channel.

966+

1. Enable Message Content Intent in the Discord Developer Portal.

967+

2. Enable Server Members Intent when role/user allowlists are used.

968+

3. Invite the bot with `bot` and `applications.commands` scopes.

969+

4. Grant Connect, Speak, Send Messages, and Read Message History in the target voice channel.

970+

5. Enable native commands (`commands.native` or `channels.discord.commands.native`).

971+

6. Configure `channels.discord.voice`.

969972970973

Use `/vc join|leave|status` to control sessions. The command uses the account default agent and follows the same allowlist and group policy rules as other Discord commands.

971974975+

```bash

976+

/vc join channel:<voice-channel-id>

977+

/vc status

978+

/vc leave

979+

```

980+972981

Auto-join example:

973982974983

```json5

@@ -977,6 +986,7 @@ Auto-join example:

977986

discord: {

978987

voice: {

979988

enabled: true,

989+

model: "openai/gpt-5.4-mini",

980990

autoJoin: [

981991

{

982992

guildId: "123456789012345678",

@@ -987,7 +997,7 @@ Auto-join example:

987997

decryptionFailureTolerance: 24,

988998

tts: {

989999

provider: "openai",

990-

openai: { voice: "alloy" },

1000+

openai: { voice: "onyx" },

9911001

},

9921002

},

9931003

},

@@ -998,12 +1008,24 @@ Auto-join example:

9981008

Notes:

999100910001010

- `voice.tts` overrides `messages.tts` for voice playback only.

1011+

- `voice.model` overrides the LLM used for Discord voice channel responses only. Leave it unset to inherit the routed agent model.

1012+

- STT uses `tools.media.audio`; `voice.model` does not affect transcription.

10011013

- Voice transcript turns derive owner status from Discord `allowFrom` (or `dm.allowFrom`); non-owner speakers cannot access owner-only tools (for example `gateway` and `cron`).

10021014

- Voice is enabled by default; set `channels.discord.voice.enabled=false` to disable it.

10031015

- `voice.daveEncryption` and `voice.decryptionFailureTolerance` pass through to `@discordjs/voice` join options.

10041016

- `@discordjs/voice` defaults are `daveEncryption=true` and `decryptionFailureTolerance=24` if unset.

10051017

- OpenClaw also watches receive decrypt failures and auto-recovers by leaving/rejoining the voice channel after repeated failures in a short window.

1006-

- If receive logs repeatedly show `DecryptionFailed(UnencryptedWhenPassthroughDisabled)`, this may be the upstream `@discordjs/voice` receive bug tracked in [discord.js #11419](https://github.com/discordjs/discord.js/issues/11419).

1018+

- If receive logs repeatedly show `DecryptionFailed(UnencryptedWhenPassthroughDisabled)` after updating, collect a dependency report and logs. The bundled `@discordjs/voice` line includes the upstream padding fix from discord.js PR #11449, which closed discord.js issue #11419.

1019+1020+

Voice channel pipeline:

1021+1022+

- Discord PCM capture is converted to a WAV temp file.

1023+

- `tools.media.audio` handles STT, for example `openai/gpt-4o-mini-transcribe`.

1024+

- The transcript is sent through normal Discord ingress and routing.

1025+

- `voice.model`, when set, overrides only the response LLM for this voice-channel turn.

1026+

- `voice.tts` is merged over `messages.tts`; the resulting audio is played in the joined channel.

1027+1028+

Credentials are resolved per component: LLM route auth for `voice.model`, STT auth for `tools.media.audio`, and TTS auth for `messages.tts`/`voice.tts`.

1007102910081030

### Voice messages

10091031

@@ -1130,7 +1152,7 @@ openclaw logs --follow

11301152

- watch logs for:

11311153

- `discord voice: DAVE decrypt failures detected`

11321154

- `discord voice: repeated decrypt failures; attempting rejoin`

1133-

- if failures continue after automatic rejoin, collect logs and compare against [discord.js #11419](https://github.com/discordjs/discord.js/issues/11419)

1155+

- if failures continue after automatic rejoin, collect logs and compare against the upstream DAVE receive history in [discord.js #11419](https://github.com/discordjs/discord.js/issues/11419) and [discord.js #11449](https://github.com/discordjs/discord.js/pull/11449)

1134115611351157

</Accordion>

11361158

</AccordionGroup>