[PR #560] [MERGED] add Together AI LLM support #3398

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

📋 Pull Request Information

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

Base: masterHead: 531-feat-support-togetherai-api-for-llm-selection


📝 Commits (7)

  • f2d70d6 add Together AI LLM support
  • e4e7d17 update readme to support together ai
  • 02dbdfc Patch togetherAI implementation
  • d530c86 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 531-feat-support-togetherai-api-for-llm-selection
  • c0ef5de add model sorting/option labels by organization for model selection
  • b5cb51c linting + add data handling for TogetherAI
  • 88622b8 change truthy statement

📊 Changes

18 files changed (+808 additions, -13 deletions)

View changed files

📝 README.md (+21 -8)
📝 docker/.env.example (+4 -0)
frontend/src/components/LLMSelection/TogetherAiOptions/index.jsx (+95 -0)
frontend/src/media/llmprovider/togetherai.png (+0 -0)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+9 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx (+12 -3)
📝 frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx (+9 -0)
📝 server/.env.example (+4 -0)
📝 server/models/systemSettings.js (+18 -0)
server/utils/AiProviders/togetherAi/index.js (+198 -0)
server/utils/AiProviders/togetherAi/models.js (+226 -0)
server/utils/AiProviders/togetherAi/scripts/.gitignore (+1 -0)
server/utils/AiProviders/togetherAi/scripts/chat_models.txt (+39 -0)
server/utils/AiProviders/togetherAi/scripts/parse.mjs (+41 -0)
📝 server/utils/chats/stream.js (+90 -0)
📝 server/utils/helpers/customModels.js (+25 -1)
📝 server/utils/helpers/index.js (+3 -0)
📝 server/utils/helpers/updateENV.js (+13 -1)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #531

What is in this change?

Added support for Together AI as an LLM option

Additional Information

Add any other context about the Pull Request here that was not captured above.

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/560 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 1/9/2024 **Status:** ✅ Merged **Merged:** 1/10/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `531-feat-support-togetherai-api-for-llm-selection` --- ### 📝 Commits (7) - [`f2d70d6`](https://github.com/Mintplex-Labs/anything-llm/commit/f2d70d66025e04d0a066673df702b14aa9acdc70) add Together AI LLM support - [`e4e7d17`](https://github.com/Mintplex-Labs/anything-llm/commit/e4e7d1771d45a18c2a4a44ee98b1a06643aa5747) update readme to support together ai - [`02dbdfc`](https://github.com/Mintplex-Labs/anything-llm/commit/02dbdfc005529822b2a39a96462008c979e7b088) Patch togetherAI implementation - [`d530c86`](https://github.com/Mintplex-Labs/anything-llm/commit/d530c86b12f7f1001f9d7b8d80ccf6299d56acce) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 531-feat-support-togetherai-api-for-llm-selection - [`c0ef5de`](https://github.com/Mintplex-Labs/anything-llm/commit/c0ef5dea24821a0c862f4ead969adcc40d09e320) add model sorting/option labels by organization for model selection - [`b5cb51c`](https://github.com/Mintplex-Labs/anything-llm/commit/b5cb51c40698727319851d552278d847deea3686) linting + add data handling for TogetherAI - [`88622b8`](https://github.com/Mintplex-Labs/anything-llm/commit/88622b8524ca6cda84afe9152dfdf63403ed279d) change truthy statement ### 📊 Changes **18 files changed** (+808 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+21 -8) 📝 `docker/.env.example` (+4 -0) ➕ `frontend/src/components/LLMSelection/TogetherAiOptions/index.jsx` (+95 -0) ➕ `frontend/src/media/llmprovider/togetherai.png` (+0 -0) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+9 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx` (+12 -3) 📝 `frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx` (+9 -0) 📝 `server/.env.example` (+4 -0) 📝 `server/models/systemSettings.js` (+18 -0) ➕ `server/utils/AiProviders/togetherAi/index.js` (+198 -0) ➕ `server/utils/AiProviders/togetherAi/models.js` (+226 -0) ➕ `server/utils/AiProviders/togetherAi/scripts/.gitignore` (+1 -0) ➕ `server/utils/AiProviders/togetherAi/scripts/chat_models.txt` (+39 -0) ➕ `server/utils/AiProviders/togetherAi/scripts/parse.mjs` (+41 -0) 📝 `server/utils/chats/stream.js` (+90 -0) 📝 `server/utils/helpers/customModels.js` (+25 -1) 📝 `server/utils/helpers/index.js` (+3 -0) 📝 `server/utils/helpers/updateENV.js` (+13 -1) </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 #531 ### What is in this change? Added support for Together AI as an LLM option ### 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 - [ ] 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:42 -05:00
yindo closed this issue 2026-02-22 18:33:42 -05:00
yindo changed title from [PR #560] add Together AI LLM support to [PR #560] [MERGED] add Together AI LLM support 2026-06-05 15:13:12 -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#3398