[PR #353] [MERGED] fix: adjust return type of addDocuments in case of no additions #3314

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/353
Author: @tlandenberger
Created: 11/10/2023
Status: Merged
Merged: 11/10/2023
Merged by: @timothycarambat

Base: masterHead: bugfix/update-workspace-embeddings


📝 Commits (1)

  • dc57704 fix: adjust return type of addDocuments in case of no additions

📊 Changes

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

View changed files

📝 server/models/documents.js (+1 -1)

📄 Description

Fixing a bug when the /v1/workspace/{slug}/update-embeddings endpoint was called with no additions to the documents.
Solves issue #352


🔄 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/353 **Author:** [@tlandenberger](https://github.com/tlandenberger) **Created:** 11/10/2023 **Status:** ✅ Merged **Merged:** 11/10/2023 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `bugfix/update-workspace-embeddings` --- ### 📝 Commits (1) - [`dc57704`](https://github.com/Mintplex-Labs/anything-llm/commit/dc5770466bb17021cf796cef4e0a44f0a47ffd00) fix: adjust return type of addDocuments in case of no additions ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/models/documents.js` (+1 -1) </details> ### 📄 Description Fixing a bug when the _/v1/workspace/{slug}/update-embeddings_ endpoint was called with no additions to the documents. Solves issue #352 --- <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:33:31 -05:00
yindo closed this issue 2026-02-22 18:33:31 -05: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#3314