Skip to content

Keep realtime OpenClaw consults pending#572

Merged
rogerchappel merged 1 commit into
mainfrom
codex/realtime-consult-continuation
May 21, 2026
Merged

Keep realtime OpenClaw consults pending#572
rogerchappel merged 1 commit into
mainfrom
codex/realtime-consult-continuation

Conversation

@rogerchappel
Copy link
Copy Markdown
Owner

@rogerchappel rogerchappel commented May 21, 2026

Summary

  • submit an interim OpenClaw realtime tool result with willContinue before waiting for long consults
  • return the completed OpenClaw answer from the relay route as finalText
  • suppress stale provider assistant transcripts while a realtime tool call is pending, then persist the actual OpenClaw final text into CrewCMD
  • update tests around the interim/final relay sequence

Verification

  • pnpm test -- 'src/app/api/runtimes/[id]/talk/realtime/relay/route.test.ts' src/lib/realtime-voice-gateway-relay.test.ts src/lib/realtime-voice-client.test.ts\n- pnpm typecheck\n- git diff --check\n- pre-push: pnpm typecheck && pnpm build\n\n## Notes\nOpenClaw logs showed the VideoGen lookup completed and returned the README summary, but the realtime provider still emitted a stale “no README text” answer. This PR makes CrewCMD trust and persist the final OpenClaw tool result instead of that stale provider transcript. Local OpenClaw logs still show a separate Codex harness fallback issue: listRegisteredPluginAgentPromptGuidance is not a function.

@rogerchappel rogerchappel merged commit d20060d 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