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

Add a "regenerate reply" button #6

Open
faetalize opened this issue Dec 27, 2023 · 1 comment
Open

Add a "regenerate reply" button #6

faetalize opened this issue Dec 27, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@faetalize
Copy link
Owner

Markup:

  • Add a button in the bottom right or left of the message with a refresh icon

Code:

  • Pop the messages starting from the message to regenerate, and call the "run()" function with the last message as a parameter
  • add an event listener

Considerations

  • a refactoring of the run function will be required, so it can be used on any input
    async function run(input){
    //..
    }
    //..
    //changes to the event handler
    sendMessageButton.addEventListener("click", () => {
        run(...);
    });
@faetalize faetalize added enhancement New feature or request good first issue Good for newcomers labels Dec 27, 2023
@faetalize faetalize self-assigned this Apr 30, 2024
@faetalize
Copy link
Owner Author

faetalize commented Apr 30, 2024

currently being worked on, 0e7e55b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant