[PR #876] [MERGED] [DESKTOP] Dynamic Collector Port #3518

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/876
Author: @timothycarambat
Created: 3/8/2024
Status: Merged
Merged: 3/8/2024
Merged by: @timothycarambat

Base: desktopHead: 875-desktop-collector


📝 Commits (1)

  • fa0d0c0 Fix hardcoded collector port for desktop

📊 Changes

2 files changed (+2 additions, -112 deletions)

View changed files

📝 server/utils/collectorApi/index.js (+2 -2)
server/utils/files/documentProcessor.js (+0 -110)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #875
resolves #866

What is in this change?

Allow for dynamic collector port setting. When the user boots up the app and port 8888 is already in use the collectorAPI will fail to be reached as the collectorAPI class expects it to always be 8888, which works on docker internal but not in desktop.

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/876 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 3/8/2024 **Status:** ✅ Merged **Merged:** 3/8/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `desktop` ← **Head:** `875-desktop-collector` --- ### 📝 Commits (1) - [`fa0d0c0`](https://github.com/Mintplex-Labs/anything-llm/commit/fa0d0c076f8ad54df05819f97fbcffaa0c16314d) Fix hardcoded collector port for desktop ### 📊 Changes **2 files changed** (+2 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `server/utils/collectorApi/index.js` (+2 -2) ➖ `server/utils/files/documentProcessor.js` (+0 -110) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #875 resolves #866 ### What is in this change? Allow for dynamic collector port setting. When the user boots up the app and port 8888 is already in use the collectorAPI will fail to be reached as the collectorAPI class expects it to always be 8888, which works on docker internal but not in desktop. ### Additional Information ### 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 - [ ] ~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:33:57 -05:00
yindo closed this issue 2026-02-22 18:33:57 -05:00
yindo changed title from [PR #876] [DESKTOP] Dynamic Collector Port to [PR #876] [MERGED] [DESKTOP] Dynamic Collector Port 2026-06-05 15:13:50 -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#3518