abi / abi/secret-llama

[Bug] input another question during generate result

Ouverte Adaptée aux débutants
#32 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
2.7k
Forks
172
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi, I just tried this application, and it is really amazing. However, I also discovered an issue during testing. When entering a prompt, if we need to input multiple lines, we usually use alt + enter to create a new line, but it seems that the application currently doesn't support this well. Additionally, I noticed that when the backend is generating a response, if we continue to input a prompt, it can actually be submitted. This should not be allowed.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Look for the frontend component handling text input and submission, likely in a React component. Find where the 'generate' state is managed and where the submit handler is called. Prevent new line input via alt+enter and disable the input or button while a response is being generated. Test by running the app locally and simulating the described behavior.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, typescript
Domaine
desktop, frontend
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
65/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.