patrikzudel/PatrikZeros-ChatGPT-API-UI

Ability to rebind Enter to send the message without the history

Opened this issue · 0 comments

  • I have read all open and closed Issues and confirm that this is not a duplicate.

Is your feature request related to a problem? Please describe.

The default action for sending messages [Enter] is to send message with the history. But that uses a lot of tokens in long conversations and the user is billed per token.

Describe the solution you'd like

It would be useful to add ability to rebind default action [enter] to send the message without the history in the settings.

Describe alternatives you've considered

Alternative is to add keyboard shortcut for sending the message without the history.

Or add ability to select message, from which to start the history. So the entire history is not sent.

Or add a lock button, so the uses doesn't accidentally send the message with the history.

Additional context

src/App.svelte:591