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

Delete and regenerate messages #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

angrypie
Copy link

Perform delete and regeneration actions on messages

Use d on title to delete user or assistant messages
Use r on title of user or assistant message to regenerate response

Implements #47

I still need to figure out tests setup though.

perform delete and regeneration actions on messages

use `d` on title to delete user or assistant messages

use `r` on title of user or assistant message to regenerate response
const message = msg.msg;
return [
model,
parallelThunks<Msg>(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I get this part right?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no this doesn't seem right. What are you trying to do? I'm not totally following ...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to dispatch 'edit-message' (that came from Message component) to handle it in the update method of Chat component
With parallelThunks, I'm following what happening here

@angrypie angrypie mentioned this pull request Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants