[PR #3546] [MERGED] Persist images attached in API requests to the UI for rendering #4316

Closed
opened 2026-02-22 18:35:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3546
Author: @timothycarambat
Created: 3/26/2025
Status: Merged
Merged: 3/26/2025
Merged by: @timothycarambat

Base: masterHead: 3518-api-attachment-persistence


📝 Commits (2)

  • c8009ea Persist images attached in API requests to the UI for rendereing
  • 7961df0 Merge branch 'master' into 3518-api-attachment-persistence

📊 Changes

1 file changed (+14 additions, -3 deletions)

View changed files

📝 server/utils/chats/apiChatHandler.js (+14 -3)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #3518

What is in this change?

  • When using attachments in the developer API & in a non-multi-user mode of AnythingLLM, the chat content will render in the UI, but images (attachments) did not - this renders them now as well.

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/3546 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 3/26/2025 **Status:** ✅ Merged **Merged:** 3/26/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `3518-api-attachment-persistence` --- ### 📝 Commits (2) - [`c8009ea`](https://github.com/Mintplex-Labs/anything-llm/commit/c8009ea0686ad7989d2ec791242fe03ae90e3f0e) Persist images attached in API requests to the UI for rendereing - [`7961df0`](https://github.com/Mintplex-Labs/anything-llm/commit/7961df0f1180ab5c8d6c360c65e72c87967018a9) Merge branch 'master' into 3518-api-attachment-persistence ### 📊 Changes **1 file changed** (+14 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `server/utils/chats/apiChatHandler.js` (+14 -3) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #3518 ### What is in this change? - When using `attachments` in the developer API & in a non-multi-user mode of AnythingLLM, the chat content will render in the UI, but images (attachments) did not - this renders them now as well. <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:35:35 -05:00
yindo closed this issue 2026-02-22 18:35:35 -05:00
yindo changed title from [PR #3546] Persist images attached in API requests to the UI for rendering to [PR #3546] [MERGED] Persist images attached in API requests to the UI for rendering 2026-06-05 15:17:58 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4316