[PR #4291] [CLOSED] Add option to hide/show sources in dev API chat endpoints #4584

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4291
Author: @shatfield4
Created: 8/14/2025
Status: Closed

Base: masterHead: 3209-feat-apiv1workspacestream-chat-sources-citations


📝 Commits (2)

  • 4285daf add option to hide/show sources in dev api chat endpoints
  • b9a68c9 Merge branch 'master' into 3209-feat-apiv1workspacestream-chat-sources-citations

📊 Changes

3 files changed (+17 additions, -7 deletions)

View changed files

📝 server/endpoints/api/workspace/index.js (+8 -2)
📝 server/swagger/openapi.json (+4 -2)
📝 server/utils/chats/apiChatHandler.js (+5 -3)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #3209

What is in this change?

  • Adds option for includeSources in the /v1/workspace/{slug}/stream-chat and /v1/workspace/{slug}/chat endpoints

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/4291 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 8/14/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `3209-feat-apiv1workspacestream-chat-sources-citations` --- ### 📝 Commits (2) - [`4285daf`](https://github.com/Mintplex-Labs/anything-llm/commit/4285daff3e06842cb99b8d0d5a7740b301a7c38d) add option to hide/show sources in dev api chat endpoints - [`b9a68c9`](https://github.com/Mintplex-Labs/anything-llm/commit/b9a68c99b57b0b6856f39efca356faa854b6205a) Merge branch 'master' into 3209-feat-apiv1workspacestream-chat-sources-citations ### 📊 Changes **3 files changed** (+17 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/api/workspace/index.js` (+8 -2) 📝 `server/swagger/openapi.json` (+4 -2) 📝 `server/utils/chats/apiChatHandler.js` (+5 -3) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #3209 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Adds option for `includeSources` in the `/v1/workspace/{slug}/stream-chat` and `/v1/workspace/{slug}/chat` endpoints ### 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. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] 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:36:07 -05:00
yindo closed this issue 2026-02-22 18:36:07 -05:00
yindo changed title from [PR #4291] Add option to hide/show sources in dev API chat endpoints to [PR #4291] [CLOSED] Add option to hide/show sources in dev API chat endpoints 2026-06-05 15:19:18 -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#4584