[PR #1260] [MERGED] [CHORE] Remove sendChat and streamChat in all LLM providers #3632

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1260
Author: @shatfield4
Created: 5/1/2024
Status: Merged
Merged: 5/1/2024
Merged by: @timothycarambat

Base: masterHead: 1255-feat-prune-unused-llm-provider-functions


📝 Commits (3)

  • 0da895c remove sendChat and streamChat functions/references in all LLM providers
  • 392e199 remove unused imports
  • 7b5c5c4 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 1255-feat-prune-unused-llm-provider-functions

📊 Changes

15 files changed (+15 additions, -958 deletions)

View changed files

📝 server/utils/AiProviders/anthropic/index.js (+1 -27)
📝 server/utils/AiProviders/azureOpenAi/index.js (+1 -62)
📝 server/utils/AiProviders/gemini/index.js (+1 -52)
📝 server/utils/AiProviders/genericOpenAi/index.js (+1 -51)
📝 server/utils/AiProviders/groq/index.js (+1 -61)
📝 server/utils/AiProviders/huggingface/index.js (+1 -51)
📝 server/utils/AiProviders/lmStudio/index.js (+1 -61)
📝 server/utils/AiProviders/localAi/index.js (+1 -61)
📝 server/utils/AiProviders/mistral/index.js (+1 -60)
📝 server/utils/AiProviders/native/index.js (+1 -41)
📝 server/utils/AiProviders/ollama/index.js (+1 -49)
📝 server/utils/AiProviders/openAi/index.js (+1 -61)
📝 server/utils/AiProviders/openRouter/index.js (+1 -199)
📝 server/utils/AiProviders/perplexity/index.js (+1 -61)
📝 server/utils/AiProviders/togetherAi/index.js (+1 -61)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #1255

What is in this change?

  • Remove sendChat and streamChat functions/references from all LLM providers (not used anymore)

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/1260 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 5/1/2024 **Status:** ✅ Merged **Merged:** 5/1/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1255-feat-prune-unused-llm-provider-functions` --- ### 📝 Commits (3) - [`0da895c`](https://github.com/Mintplex-Labs/anything-llm/commit/0da895ce42b98a5ae504b92e93827d4a8bf04e06) remove sendChat and streamChat functions/references in all LLM providers - [`392e199`](https://github.com/Mintplex-Labs/anything-llm/commit/392e19951c2c443ae9713b99e2bda3456af3d19a) remove unused imports - [`7b5c5c4`](https://github.com/Mintplex-Labs/anything-llm/commit/7b5c5c41a0e92646aba708900c866fa5760dd500) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 1255-feat-prune-unused-llm-provider-functions ### 📊 Changes **15 files changed** (+15 additions, -958 deletions) <details> <summary>View changed files</summary> 📝 `server/utils/AiProviders/anthropic/index.js` (+1 -27) 📝 `server/utils/AiProviders/azureOpenAi/index.js` (+1 -62) 📝 `server/utils/AiProviders/gemini/index.js` (+1 -52) 📝 `server/utils/AiProviders/genericOpenAi/index.js` (+1 -51) 📝 `server/utils/AiProviders/groq/index.js` (+1 -61) 📝 `server/utils/AiProviders/huggingface/index.js` (+1 -51) 📝 `server/utils/AiProviders/lmStudio/index.js` (+1 -61) 📝 `server/utils/AiProviders/localAi/index.js` (+1 -61) 📝 `server/utils/AiProviders/mistral/index.js` (+1 -60) 📝 `server/utils/AiProviders/native/index.js` (+1 -41) 📝 `server/utils/AiProviders/ollama/index.js` (+1 -49) 📝 `server/utils/AiProviders/openAi/index.js` (+1 -61) 📝 `server/utils/AiProviders/openRouter/index.js` (+1 -199) 📝 `server/utils/AiProviders/perplexity/index.js` (+1 -61) 📝 `server/utils/AiProviders/togetherAi/index.js` (+1 -61) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [x] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1255 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Remove `sendChat` and `streamChat` functions/references from all LLM providers (not used anymore) ### 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:34:11 -05:00
yindo closed this issue 2026-02-22 18:34:11 -05:00
yindo changed title from [PR #1260] [CHORE] Remove sendChat and streamChat in all LLM providers to [PR #1260] [MERGED] [CHORE] Remove sendChat and streamChat in all LLM providers 2026-06-05 15:14:26 -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#3632