Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start recording hotkey (p) gets triggered even when typing in message box in Copilot mode #1572

Open
acwwat opened this issue Dec 6, 2024 · 1 comment
Labels
bug Something isn't working frontend Pertains to the frontend. needs-triage

Comments

@acwwat
Copy link

acwwat commented Dec 6, 2024

Describe the bug
When running a Chainlit app as a copilot, the hotkey function ('p' key) for voice recording is triggered even when typing inside the message input box. So every time you type in a word that has a 'p' in it, voice recording is triggered rendering copilot unusable.

Where as in the regular Chainlit app, typing 'p' in the message box does NOT trigger voice recording. It is only triggered when 'p' is typed when not focused in the message input box.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy a Chainlit app with voice recording enabled in copilot mode.
  2. Go to the website/application that has the copilot.
  3. Open the copilot using the button in the lower right.
  4. Type in 'p' in the message input box.

Expected behavior
User should be able to type in a message that contains a 'p' without going into voice recording mode.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows 11
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 131.0.6778.109

Additional context
Add any other context about the problem here.

@dosubot dosubot bot added bug Something isn't working frontend Pertains to the frontend. labels Dec 6, 2024
@willydouhard
Copy link
Collaborator

Can you try with the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Pertains to the frontend. needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants