-
Notifications
You must be signed in to change notification settings - Fork 82
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
Sweep (fast): Sweep: Add message-id to messages list in API response #83 #85
Comments
Here's the PR! #86.⚡ Sweep Free Trial: I'm creating this ticket using GPT-3.5. You have 5 GPT-4 tickets left for the month and 0 for the day. For more GPT-4 tickets, visit our payment portal.
Actions (click)
Step 1: 🔎 SearchingI found the following snippets in your repository. I will now analyze these snippets and come up with a plan. Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.Lines 1 to 247 in 50720fe
Lines 1 to 144 in 50720fe
I also found the following external resources that might be helpful:Summaries of links found in the content: Step 2: ⌨️ Coding
• In the `MemoryMessage` struct in `src/models.rs`, add a new field `message_id: String`.
• In the `handle_compaction` function, update the compaction of memory messages to handle the compaction based on the `message_id`. Step 3: 🔁 Code ReviewI have finished reviewing the code for completeness. I did not find errors for . 🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. |
Details
Current Implementation:
Actual call to http://MOTOR_URL/sessions/{session-id}/memory returns a list of messages in the following format:
Enhancement Request:
In the messages list, it would be beneficial to include a unique message-id for each message. This enhancement would facilitate the ability to delete or update a specific message content. Here's the updated format:
Checklist
src/memory.rs
✅ Commit62a7012
src/reducer.rs
✅ Commit4455113
The text was updated successfully, but these errors were encountered: