这是indexloc提供的服务,不要输入任何密码
Skip to content

Fix File attachments are not cleared on second send click when use @a… #3843

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

Merged
merged 2 commits into from
May 27, 2025

Conversation

cnjsyyb
Copy link
Contributor

@cnjsyyb cnjsyyb commented May 19, 2025

…gent

Pull Request Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #3842

What is in this change?

1.frontend/src/components/WorkspaceChat/ChatContainer/index.jsx
2. add code: window.dispatchEvent(new CustomEvent(CLEAR_ATTACHMENTS_EVENT));

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@timothycarambat timothycarambat merged commit dc8b204 into Mintplex-Labs:master May 27, 2025
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
Mintplex-Labs#3843)

Fix File attachments are not cleared on second send click when use @agent

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
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.

[BUG]: File attachments are not cleared on second send click
2 participants