nextcloud / nextcloud/assistant
Deletion or retry does not actually remove the chat message in Chat with AI when Context Agent is used
Open
Nobody has claimed this yet.
bug
priority normal
- Dominant language
- JavaScript
- Stars
- 88
- Forks
- 43
- Avg merge
- 18h 49m
- Merged PRs (30d)
- 3
Description
Which version of assistant are you using?
3.5.0-dev.2
Which version of Nextcloud are you using?
v35.0.0.1
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
No response
Describe the Bug
The same happens when the last message is regenerated. It is gone from the UI but the chat message remains in the history.
An example where the chat message in the middle was deleted but the agent remembers it verbatim:
Expected Behavior
/
To Reproduce
/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing deletion and retry of a chat message while Context Agent is enabled, then compare the visible conversation with the retained chat history. Identify where the removed message remains available to the agent; done means deleted or regenerated messages are no longer remembered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ai, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 40/100