Skip to content

Retrieve conversation list from ConversationStore and agent trait#236

Open
barryvdh wants to merge 3 commits intolaravel:0.xfrom
barryvdh:store-conversations
Open

Retrieve conversation list from ConversationStore and agent trait#236
barryvdh wants to merge 3 commits intolaravel:0.xfrom
barryvdh:store-conversations

Conversation

@barryvdh
Copy link

@barryvdh barryvdh commented Mar 2, 2026

This allows to get the list of the conversation from the ConversationStore and use this in the RemembersConversations trait.

This makes it possible to get the list of conversation to resume in the UI, without calling the database directly.

Note: this is a BC break for any other store implementations, so would require a SemVer bump (if anyone implements their own store).

@barryvdh
Copy link
Author

barryvdh commented Mar 2, 2026

Not sure if we want to return it as array like messages, or collection (from the trait).

And maybe we should include the created_at / updated_at?

@taylorotwell
Copy link
Member

taylorotwell commented Mar 12, 2026

I wonder if this should be traits you can add on to your User model for example that allows you to access the conversations via Eloquent? For both conversations and conversation messages.

@barryvdh
Copy link
Author

I guess that would make sense and make it easier to handle the conversations/messages

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