[PR #4367] [CLOSED] [FEAT]: Model provider SubModel integration #4596

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4367
Author: @OPAI-OP
Created: 9/7/2025
Status: Closed

Base: masterHead: master


📝 Commits (4)

  • 6f1b6ad [FEAT]: Model provider SubModel integration
  • 98a53dc Merge branch 'master' into master
  • e809a62 Merge branch 'master' into master
  • ee440db Merge branch 'master' into master

📊 Changes

26 files changed (+651 additions, -1 deletions)

View changed files

📝 .vscode/settings.json (+1 -0)
📝 README.md (+2 -0)
📝 docker/.env.example (+4 -0)
frontend/src/components/LLMSelection/SubModelLLMOptions/index.jsx (+154 -0)
📝 frontend/src/hooks/useGetProvidersModels.js (+1 -0)
frontend/src/media/llmprovider/submodel.png (+0 -0)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+10 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx (+9 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx (+9 -0)
📝 frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx (+1 -0)
📝 locales/README.fa-IR.md (+1 -0)
📝 locales/README.ja-JP.md (+1 -0)
📝 locales/README.tr-TR.md (+1 -0)
📝 locales/README.zh-CN.md (+1 -0)
📝 server/.env.example (+4 -0)
📝 server/endpoints/utils.js (+3 -0)
📝 server/models/systemSettings.js (+4 -0)
server/utils/AiProviders/submodel/index.js (+270 -0)
📝 server/utils/agents/aibitat/index.js (+2 -0)
📝 server/utils/agents/aibitat/providers/ai-provider.js (+8 -0)

...and 6 more files

📄 Description

Pull Request Type

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

Relevant Issues

resolves #4372

What is in this change?

Add support for SubModel, a new LLM provider.

Additional Information

SubModel provides users with reliable and stable LLM API services through the InstaGen service.

For mainstream open-source models, such as DeepSeek R1 0528, Qwen3 Coder 480B, and GPT OSS 120B, a free daily quota of 1M tokens or 200 requests is offered to every user.

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/4367 **Author:** [@OPAI-OP](https://github.com/OPAI-OP) **Created:** 9/7/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`6f1b6ad`](https://github.com/Mintplex-Labs/anything-llm/commit/6f1b6ade697fdea436492d67274ae86f8fa6f56d) [FEAT]: Model provider SubModel integration - [`98a53dc`](https://github.com/Mintplex-Labs/anything-llm/commit/98a53dcb7a30f28f5f974e67d79adb0c39685042) Merge branch 'master' into master - [`e809a62`](https://github.com/Mintplex-Labs/anything-llm/commit/e809a62636f1e292530a3dbbbcb36e4a88561c5c) Merge branch 'master' into master - [`ee440db`](https://github.com/Mintplex-Labs/anything-llm/commit/ee440db8956eccd4603b8b1cf40fb21d6c801d92) Merge branch 'master' into master ### 📊 Changes **26 files changed** (+651 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.vscode/settings.json` (+1 -0) 📝 `README.md` (+2 -0) 📝 `docker/.env.example` (+4 -0) ➕ `frontend/src/components/LLMSelection/SubModelLLMOptions/index.jsx` (+154 -0) 📝 `frontend/src/hooks/useGetProvidersModels.js` (+1 -0) ➕ `frontend/src/media/llmprovider/submodel.png` (+0 -0) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+10 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx` (+9 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx` (+9 -0) 📝 `frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx` (+1 -0) 📝 `locales/README.fa-IR.md` (+1 -0) 📝 `locales/README.ja-JP.md` (+1 -0) 📝 `locales/README.tr-TR.md` (+1 -0) 📝 `locales/README.zh-CN.md` (+1 -0) 📝 `server/.env.example` (+4 -0) 📝 `server/endpoints/utils.js` (+3 -0) 📝 `server/models/systemSettings.js` (+4 -0) ➕ `server/utils/AiProviders/submodel/index.js` (+270 -0) 📝 `server/utils/agents/aibitat/index.js` (+2 -0) 📝 `server/utils/agents/aibitat/providers/ai-provider.js` (+8 -0) _...and 6 more files_ </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 #4372 ### What is in this change? Add support for SubModel, a new LLM provider. ### Additional Information SubModel provides users with reliable and stable LLM API services through the InstaGen service. For mainstream open-source models, such as DeepSeek R1 0528, Qwen3 Coder 480B, and GPT OSS 120B, a free daily quota of 1M tokens or 200 requests is offered to every user. ### Developer Validations - [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:36:09 -05:00
yindo closed this issue 2026-02-22 18:36:09 -05:00
yindo changed title from [PR #4367] [FEAT]: Model provider SubModel integration to [PR #4367] [CLOSED] [FEAT]: Model provider SubModel integration 2026-06-05 15:19:22 -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#4596