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

推荐订阅源

WordPress大学
WordPress大学
A
About on SuperTechFans
量子位
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园_首页
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
Google DeepMind News
Google DeepMind News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog
U
Unit 42
D
DataBreaches.Net
博客园 - Franky
D
Docker
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Hugging Face - Blog
Hugging Face - 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: default discord voice to agent proxy · openclaw/ope...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

@@ -1172,8 +1172,7 @@ Auto-join example:

11721172

discord: {

11731173

voice: {

11741174

enabled: true,

1175-

mode: "stt-tts",

1176-

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

1175+

model: "openai-codex/gpt-5.5",

11771176

autoJoin: [

11781177

{

11791178

guildId: "123456789012345678",

@@ -1184,12 +1183,10 @@ Auto-join example:

11841183

decryptionFailureTolerance: 24,

11851184

connectTimeoutMs: 30000,

11861185

reconnectGraceMs: 15000,

1187-

tts: {

1186+

realtime: {

11881187

provider: "openai",

1189-

openai: {

1190-

model: "gpt-4o-mini-tts",

1191-

voice: "cedar",

1192-

},

1188+

model: "gpt-realtime-2",

1189+

voice: "cedar",

11931190

},

11941191

},

11951192

},

@@ -1199,10 +1196,11 @@ Auto-join example:

1199119612001197

Notes:

120111981202-

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

1203-

- `voice.mode` controls the conversation path: `stt-tts` keeps the existing batch STT plus TTS flow, `talk-buffer` uses a realtime voice shell for turn timing/transcription/playback while the OpenClaw agent produces the answer, and `bidi` lets the realtime model converse directly while exposing `openclaw_agent_consult` for the OpenClaw brain.

1199+

- `voice.tts` overrides `messages.tts` for `stt-tts` voice playback only. Realtime modes use `voice.realtime.voice`.

1200+

- `voice.mode` controls the conversation path. The default is `agent-proxy`: a realtime voice shell handles turn timing, transcription, interruption, and playback, while the routed OpenClaw agent produces the answer with the same session/tool permissions as a typed Discord prompt from that speaker. `stt-tts` keeps the older batch STT plus TTS flow. `bidi` lets the realtime model converse directly while exposing `openclaw_agent_consult` for the OpenClaw brain.

12041201

- `voice.agentSession` controls which OpenClaw conversation receives voice turns. Leave it unset for the voice channel's own session, or set `{ mode: "target", target: "channel:<text-channel-id>" }` to make the voice channel act as the microphone/speaker extension of an existing Discord text channel session such as `#maintainers`.

12051202

- `voice.model` overrides the OpenClaw agent brain for Discord voice responses and realtime consults. Leave it unset to inherit the routed agent model. It is separate from `voice.realtime.model`.

1203+

- `agent-proxy` routes speech through `discord-voice`, which preserves normal owner/tool authorization for the speaker and target session but hides the agent `tts` tool because Discord voice owns playback.

12061204

- In `stt-tts` mode, STT uses `tools.media.audio`; `voice.model` does not affect transcription.

12071205

- In realtime modes, `voice.realtime.provider`, `voice.realtime.model`, and `voice.realtime.voice` configure the realtime audio session. For OpenAI Realtime 2 plus the Codex brain, use `voice.realtime.model: "gpt-realtime-2"` and `voice.model: "openai-codex/gpt-5.5"`.

12081206

- `voice.realtime.bargeIn` controls whether Discord speaker-start events interrupt active realtime playback. If unset, it follows the realtime provider's input-audio interruption setting.

@@ -1234,16 +1232,20 @@ STT plus TTS pipeline:

12341232

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

12351233

- `voice.tts` is merged over `messages.tts`; streaming-capable providers feed the player directly, otherwise the resulting audio file is played in the joined channel.

123612341237-

Default voice-channel session example:

1235+

Default agent-proxy voice-channel session example:

1238123612391237

```json5

12401238

{

12411239

channels: {

12421240

discord: {

12431241

voice: {

12441242

enabled: true,

1245-

mode: "stt-tts",

1246-

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

1243+

model: "openai-codex/gpt-5.5",

1244+

realtime: {

1245+

provider: "openai",

1246+

model: "gpt-realtime-2",

1247+

voice: "cedar",

1248+

},

12471249

},

12481250

},

12491251

},

@@ -1252,20 +1254,22 @@ Default voice-channel session example:

1252125412531255

With no `voice.agentSession` block, each voice channel gets its own routed OpenClaw session. For example, `/vc join channel:234567890123456789` talks to the session for that Discord voice channel.

125412561255-

Realtime talk-buffer example:

1257+

Legacy STT plus TTS example:

1256125812571259

```json5

12581260

{

12591261

channels: {

12601262

discord: {

12611263

voice: {

12621264

enabled: true,

1263-

mode: "talk-buffer",

1264-

model: "openai-codex/gpt-5.5",

1265-

realtime: {

1265+

mode: "stt-tts",

1266+

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

1267+

tts: {

12661268

provider: "openai",

1267-

model: "gpt-realtime-2",

1268-

voice: "cedar",

1269+

openai: {

1270+

model: "gpt-4o-mini-tts",

1271+

voice: "cedar",

1272+

},

12691273

},

12701274

},

12711275

},

@@ -1304,7 +1308,7 @@ Voice as an extension of an existing Discord channel session:

13041308

discord: {

13051309

voice: {

13061310

enabled: true,

1307-

mode: "bidi",

1311+

mode: "agent-proxy",

13081312

model: "openai-codex/gpt-5.5",

13091313

agentSession: {

13101314

mode: "target",

@@ -1314,16 +1318,14 @@ Voice as an extension of an existing Discord channel session:

13141318

provider: "openai",

13151319

model: "gpt-realtime-2",

13161320

voice: "cedar",

1317-

toolPolicy: "safe-read-only",

1318-

consultPolicy: "always",

13191321

},

13201322

},

13211323

},

13221324

},

13231325

}

13241326

```

132513271326-

In this mode the bot joins the configured voice channel, but OpenClaw agent turns use the target channel's normal routed session and agent. The realtime voice session speaks the returned result back into the voice channel. The supervisor agent can still use normal message tools according to its tool policy, including sending a separate Discord message if that is the right action.

1328+

In `agent-proxy` mode the bot joins the configured voice channel, but OpenClaw agent turns use the target channel's normal routed session and agent. The realtime voice session speaks the returned result back into the voice channel. The supervisor agent can still use normal message tools according to its tool policy, including sending a separate Discord message if that is the right action.

1327132913281330

Useful target forms:

13291331