Skip to content

fix: clarify speech input requirements - #4498

Merged
aheritier merged 1 commit into
mainfrom
fix/speak-openai-requirements
Oct 2, 2026
Merged

aheritier merged 1 commit into
mainfrom
fix/speak-openai-requirements

Conversation

@aheritier

Copy link
Copy Markdown
Collaborator

Clarify that /speak transcribes audio directly through OpenAI Realtime and requires OPENAI_API_KEY, independent of the chat provider. Document that Docker models gateway does not support /speak, and improve command help and startup/connection errors. Add regression tests for command help and transcription failures.

Validation reported: build, focused tests, and focused lint passed. The full test suite encountered an ACP usage test failure; full lint reported three findings outside the changed files. The Docker connection test passed on rerun.

@aheritier
aheritier requested a review from a team as a code owner October 1, 2026 21:29
Copilot AI balanced review requested due to automatic review settings October 1, 2026 21:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused documentation, diagnostics, and regression tests consistently reflect the existing transcription architecture.

Review effort: Balanced
Findings: None

What changed in this PR

Clarifies /speak requirements and improves diagnostics for direct OpenAI Realtime transcription.

Changes:

  • Documents macOS, API-key, and gateway limitations.
  • Improves command help and connection errors.
  • Adds regression tests for help text and startup failures.
File Description
pkg/​tui/​commands/​defaults/​speak_darwin.go Clarifies command requirements.
pkg/​tui/​commands/​defaults/​speak_darwin_test.go Tests command help text.
pkg/​audio/​transcribe/​transcribe_darwin.go Improves startup and connection errors.
pkg/​audio/​transcribe/​transcribe_darwin_test.go Tests transcription failure paths.
docs/​features/​tui/​index.md Documents /speak setup and behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@aheritier
aheritier enabled auto-merge October 1, 2026 21:30
@aheritier aheritier added area/core Core agent runtime, session management area/docs Documentation changes area/tui For features/issues/fixes related to the TUI kind/fix PR fixes a bug (maps to fix:). Use on PRs only. labels Oct 1, 2026
@aheritier
aheritier added this pull request to the merge queue Oct 2, 2026
Merged via the queue into main with commit f6ba646 Oct 2, 2026
23 checks passed
@aheritier
aheritier deleted the fix/speak-openai-requirements branch October 2, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core Core agent runtime, session management area/docs Documentation changes area/tui For features/issues/fixes related to the TUI kind/fix PR fixes a bug (maps to fix:). Use on PRs only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants