Skip to content

General Tree Chat Messages #87

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

danemadsen
Copy link

@danemadsen danemadsen commented Apr 15, 2025

This is a draft PR for implementing #85.

This is a port of a very similar ChatMessage class im using in Maid
https://github.com/Mobile-Artificial-Intelligence/maid/blob/main/lib/utilities/chat_messages.dart

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read the [Flutter Style Guide] recently, and have followed its advice.
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is [test-exempt].
  • All existing and new tests are passing.

@danemadsen danemadsen changed the title [draft] - General Tree Chat Messages General Tree Chat Messages Apr 15, 2025
@csells
Copy link
Contributor

csells commented Apr 15, 2025

this is a pretty big change -- what does it enable?

@danemadsen
Copy link
Author

@csells It enables branching conversations where instead of just one message after another. Each message can have multiple responses. This enables logic such as regeneration or edits to messages.

@csells
Copy link
Contributor

csells commented Apr 15, 2025

those requirements are out of scope for the current version of the toolkit, I'm afraid.

@danemadsen
Copy link
Author

Thats fair, ill leave it here for when its needed

@csells
Copy link
Contributor

csells commented Apr 17, 2025

Much appreciated.

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