Skip to content

Wire realtime voice tool calls into OpenClaw#570

Merged
rogerchappel merged 3 commits into
mainfrom
codex/realtime-agent-consult
May 21, 2026
Merged

Wire realtime voice tool calls into OpenClaw#570
rogerchappel merged 3 commits into
mainfrom
codex/realtime-agent-consult

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

Summary

  • forward realtime provider tool calls through OpenClaw talk.client.toolCall
  • add a relay API path that waits for the delegated chat final event and submits the tool result back to the realtime session
  • replace the browser placeholder tool response with real openclaw_agent_consult delegation using the active session key

Verification

  • pnpm test -- src/lib/gateway-client-realtime.test.ts 'src/app/api/runtimes/[id]/talk/realtime/relay/route.test.ts' src/lib/realtime-voice-client.test.ts src/lib/realtime-voice-audio.test.ts src/lib/runtime-capabilities.test.ts\n- pnpm typecheck\n- git diff --check\n- pre-push pnpm typecheck && pnpm build\n\n## Risk\nMedium. This changes realtime tool-call execution, but only for the realtime relay path and preserves explicit error tool results for unsupported or failed tool calls.

@rogerchappel rogerchappel merged commit 9f32db4 into main May 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant