abi / abi/secret-llama

Feature request shift + enter for a new line in the chat

Abierto Apto para principiantes
#29 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
2.7k
Forks
172
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hello,

First of all, thank you for providing this.
I would like to request the following feature:

I want to be able to press shift + enter, like in most chat program to format messages across multiple lines.
Right now, this combination just sends the message to the LLM.

Best regards
Lennart

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Look for the chat input component, likely in a file like ChatInput.tsx or similar. Find the event handler for the keydown event and modify it to check for Shift+Enter to insert a newline, while keeping Enter alone to send the message. Test the change in the browser to ensure both actions work correctly.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
65/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.