[PR #5241] [CLOSED] ffeat: add SSE support for ordinary conversation API endpoints #5369

Closed
opened 2026-06-05 15:21:08 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5241
Author: @nehaaprasad
Created: 3/20/2026
Status: Closed

Base: masterHead: feat/prv-sse-sup-conv-re1


📝 Commits (2)

  • da78c88 POST /v1/workspace/:slug/chat
  • 5887e49 behavior remains unchanged

📊 Changes

2 files changed (+154 additions, -41 deletions)

View changed files

📝 server/endpoints/api/workspace/index.js (+72 -17)
📝 server/endpoints/api/workspaceThread/index.js (+82 -24)

📄 Description

Pull Request Type

[x] feat

Relevant Issues

resolves #5240

Description

  • Add optional stream: true to ordinary API chat routes.
  • Stream responses via SSE for workspace and thread chat endpoints.
  • Keep default non-stream JSON behavior unchanged.

Visuals (if applicable)

N/A


🔄 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/5241 **Author:** [@nehaaprasad](https://github.com/nehaaprasad) **Created:** 3/20/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/prv-sse-sup-conv-re1` --- ### 📝 Commits (2) - [`da78c88`](https://github.com/Mintplex-Labs/anything-llm/commit/da78c884d1b1be5f22621ae43c01cd9b0a937a93) POST /v1/workspace/:slug/chat - [`5887e49`](https://github.com/Mintplex-Labs/anything-llm/commit/5887e49b428025b7ec262144c1496f39344e9b92) behavior remains unchanged ### 📊 Changes **2 files changed** (+154 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `server/endpoints/api/workspace/index.js` (+72 -17) 📝 `server/endpoints/api/workspaceThread/index.js` (+82 -24) </details> ### 📄 Description ### Pull Request Type [x] ✨ feat ### Relevant Issues resolves #5240 ### Description - Add optional stream: true to ordinary API chat routes. - Stream responses via SSE for workspace and thread chat endpoints. - Keep default non-stream JSON behavior unchanged. ### Visuals (if applicable) N/A --- <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-06-05 15:21:08 -04:00
yindo closed this issue 2026-06-05 15:21:08 -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#5369