Skip to content

feat: add WebSpeech API fallback with callback pattern#832

Open
ItalyPaleAle wants to merge 1 commit into
mainfrom
a/8b0d2a0a
Open

feat: add WebSpeech API fallback with callback pattern#832
ItalyPaleAle wants to merge 1 commit into
mainfrom
a/8b0d2a0a

Conversation

@ItalyPaleAle

@ItalyPaleAle ItalyPaleAle commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Introduces WebSpeech API support for the audio recording hook. This enables reliable audio capture across different browsers without the need for an external service.

Changes

Tests (apps/web/hooks/use-audio-recording.test.ts)

  • Add comprehensive test suite for audio recording hook
  • Cover WebSpeech API fallback scenarios and error cases
  • Test callback invocations and state management

Hooks (apps/web/hooks/use-audio-recording.ts)

  • Implement WebSpeech API fallback mechanism with callback pattern
  • Enhance audio recording with improved error handling and browser compatibility
  • Add support for multiple audio capture strategies
  • Refactor hook to use callbacks for improved composability

UI Components (apps/web/chats/[chatId]/session-chat-content.tsx)

  • Update session chat content component to use new audio recording hook callbacks
  • Integrate fallback audio recording capabilities into chat interface

Chat - Built with guidance from Alessandro

Co-Authored-By: open-agents-bot[bot] <260704009+open-agents-bot[bot]@users.noreply.github.com>
@vercel

vercel Bot commented Apr 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
open-agents Ready Ready Preview Apr 21, 2026 5:52am

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