feat(app): add voice input and session budget UI - #42824
Conversation
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found the following related PRs: Potential Duplicates:
These PRs address similar or overlapping voice input functionality. The current PR (#42824) appears to be a more recent unified implementation that covers both voice input and session budget UI. You may want to check if #41864 is still active and how it relates to the current PR's voice input implementation. |
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
Adds a voice input button to the prompt input and a session budget panel to the app UI.
Voice input
getSpeechRecognitionCtorruntime adapter (works in browsers withSpeechRecognitionand in the desktop app)prompt.voice.error.*)mediapermission to the desktop renderer so the microphone can be used in ElectronSession budget UI
context.budget.*andsession.budget.exceeded.*i18n keys (translated for en/ru, other locales fall back to English)Depends on the per-session budget limit API (stacked on top of #42823).