[PR #1648] [MERGED] feat: expand summarization to OSS LLM #3734

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1648
Author: @timothycarambat
Created: 6/10/2024
Status: Merged
Merged: 6/10/2024
Merged by: @timothycarambat

Base: masterHead: expand-summarize


📝 Commits (1)

  • 0a21325 feat: expand summarization to OSS LLM

📊 Changes

6 files changed (+212 additions, -87 deletions)

View changed files

📝 server/utils/agents/aibitat/index.js (+1 -0)
📝 server/utils/agents/aibitat/plugins/summarize.js (+6 -5)
📝 server/utils/agents/aibitat/plugins/web-scraping.js (+7 -5)
📝 server/utils/agents/aibitat/providers/ai-provider.js (+117 -2)
📝 server/utils/agents/aibitat/providers/groq.js (+66 -61)
📝 server/utils/agents/aibitat/utils/summarize.js (+15 -14)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #1335

What is in this change?

Add support for built-in summarization of context using the attached LLM and model used for agents
Now supports:

openai
anthropic
groq
mistral
openrouter
perplexity
togetherai
generic-openai
ollama
lmstudio
koboldcpp
localai
textgenwebui

and any LLM

Additional Information

Any model not explicitly supported and can fit in LCWrapper is aborted.
Groq Agent interface migrated to AnythingLLM UnTooled because performance was so bad with tool calling using their OpenAI API interface.

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/1648 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 6/10/2024 **Status:** ✅ Merged **Merged:** 6/10/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `expand-summarize` --- ### 📝 Commits (1) - [`0a21325`](https://github.com/Mintplex-Labs/anything-llm/commit/0a213254de202850550ee0a6ffb5a84c80d81283) feat: expand summarization to OSS LLM ### 📊 Changes **6 files changed** (+212 additions, -87 deletions) <details> <summary>View changed files</summary> 📝 `server/utils/agents/aibitat/index.js` (+1 -0) 📝 `server/utils/agents/aibitat/plugins/summarize.js` (+6 -5) 📝 `server/utils/agents/aibitat/plugins/web-scraping.js` (+7 -5) 📝 `server/utils/agents/aibitat/providers/ai-provider.js` (+117 -2) 📝 `server/utils/agents/aibitat/providers/groq.js` (+66 -61) 📝 `server/utils/agents/aibitat/utils/summarize.js` (+15 -14) </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 #1335 ### What is in this change? Add support for built-in summarization of context using the attached LLM and model used for agents Now supports: ``` openai anthropic groq mistral openrouter perplexity togetherai generic-openai ollama lmstudio koboldcpp localai textgenwebui ``` and any LLM <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information Any model not explicitly supported and can fit in LCWrapper is aborted. `Groq` Agent interface migrated to AnythingLLM `UnTooled` because performance was so bad with tool calling using their OpenAI API interface. <!-- 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:23 -05:00
yindo closed this issue 2026-02-22 18:34:23 -05:00
yindo changed title from [PR #1648] feat: expand summarization to OSS LLM to [PR #1648] [MERGED] feat: expand summarization to OSS LLM 2026-06-05 15:14:57 -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#3734