Skip to content

Conversation

@sirily11
Copy link
Contributor

  • Added a new regenerate method in ChatProvider to allow users to regenerate messages from a specific point in the conversation.
  • Enhanced message handling to ensure that regenerating a message deletes subsequent messages and maintains the integrity of the chat history.
  • Introduced comprehensive tests for the regenerate functionality, validating various scenarios including edge cases and ensuring no duplicate messages are produced.
  • Updated existing message structures to exclude ID fields during encoding for compatibility with the OpenAI API.

- Added a new `regenerate` method in `ChatProvider` to allow users to regenerate messages from a specific point in the conversation.
- Enhanced message handling to ensure that regenerating a message deletes subsequent messages and maintains the integrity of the chat history.
- Introduced comprehensive tests for the `regenerate` functionality, validating various scenarios including edge cases and ensuring no duplicate messages are produced.
- Updated existing message structures to exclude ID fields during encoding for compatibility with the OpenAI API.
@sirily11 sirily11 merged commit e55fc52 into main Nov 26, 2025
1 check passed
@sirily11 sirily11 deleted the regenerate branch November 26, 2025 04:22
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