[PR #4183] [CLOSED] Jan AI LLM/agent provider #4546

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4183
Author: @shatfield4
Created: 7/21/2025
Status: Closed

Base: masterHead: 4136-feat-jan-as-a-backend-server-option


📝 Commits (8)

  • 1918c3e wip jan ai provider
  • db9ada4 wip jan llm and agent provider
  • a7e89c8 add custom handleStream for Jan ai llm provider/context size
  • df38976 wip auto discover jan ai
  • 3a08cb2 fix jan ai auto discover + patch agent provider
  • 7c1bbd1 Merge branch 'master' into 4136-feat-jan-as-a-backend-server-option
  • f077e6f update docs/example env
  • 602d5cc fix missing updateENV for jan ai

📊 Changes

21 files changed (+730 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)
📝 docker/.env.example (+6 -0)
frontend/src/components/LLMSelection/JanAiOptions/index.jsx (+193 -0)
frontend/src/media/llmprovider/janai.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)
📝 frontend/src/utils/constants.js (+7 -0)
📝 server/.env.example (+6 -0)
📝 server/endpoints/utils.js (+3 -0)
📝 server/models/systemSettings.js (+6 -0)
server/utils/AiProviders/janAi/index.js (+312 -0)
📝 server/utils/agents/aibitat/index.js (+2 -0)
📝 server/utils/agents/aibitat/providers/ai-provider.js (+8 -0)
📝 server/utils/agents/aibitat/providers/index.js (+2 -0)
server/utils/agents/aibitat/providers/janAi.js (+93 -0)
📝 server/utils/agents/index.js (+6 -0)
📝 server/utils/helpers/customModels.js (+30 -0)
📝 server/utils/helpers/index.js (+8 -0)

...and 1 more files

📄 Description

Pull Request Type

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

Relevant Issues

resolves #4136

What is in this change?

  • Add Jan AI as LLM and agent providers

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/4183 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 7/21/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `4136-feat-jan-as-a-backend-server-option` --- ### 📝 Commits (8) - [`1918c3e`](https://github.com/Mintplex-Labs/anything-llm/commit/1918c3e9a479208c59caf5b70459b7663ce2ff6d) wip jan ai provider - [`db9ada4`](https://github.com/Mintplex-Labs/anything-llm/commit/db9ada40bbab368478cd3824c3e05c61bf6a1690) wip jan llm and agent provider - [`a7e89c8`](https://github.com/Mintplex-Labs/anything-llm/commit/a7e89c85ce538c379296094d625cf4d7b7afbcae) add custom handleStream for Jan ai llm provider/context size - [`df38976`](https://github.com/Mintplex-Labs/anything-llm/commit/df38976a346ad7705cc204b49423efd8ed0d2db9) wip auto discover jan ai - [`3a08cb2`](https://github.com/Mintplex-Labs/anything-llm/commit/3a08cb2de3619f30d86bc7a0d5154ef5168a6580) fix jan ai auto discover + patch agent provider - [`7c1bbd1`](https://github.com/Mintplex-Labs/anything-llm/commit/7c1bbd1d533ad12a9783616b252426f21ce4040f) Merge branch 'master' into 4136-feat-jan-as-a-backend-server-option - [`f077e6f`](https://github.com/Mintplex-Labs/anything-llm/commit/f077e6f8f7193dd9eb3e04d854187b85de42dbe8) update docs/example env - [`602d5cc`](https://github.com/Mintplex-Labs/anything-llm/commit/602d5cc87448716ccc9ed29e4c20f73a5921cc3b) fix missing updateENV for jan ai ### 📊 Changes **21 files changed** (+730 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `docker/.env.example` (+6 -0) ➕ `frontend/src/components/LLMSelection/JanAiOptions/index.jsx` (+193 -0) ➕ `frontend/src/media/llmprovider/janai.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) 📝 `frontend/src/utils/constants.js` (+7 -0) 📝 `server/.env.example` (+6 -0) 📝 `server/endpoints/utils.js` (+3 -0) 📝 `server/models/systemSettings.js` (+6 -0) ➕ `server/utils/AiProviders/janAi/index.js` (+312 -0) 📝 `server/utils/agents/aibitat/index.js` (+2 -0) 📝 `server/utils/agents/aibitat/providers/ai-provider.js` (+8 -0) 📝 `server/utils/agents/aibitat/providers/index.js` (+2 -0) ➕ `server/utils/agents/aibitat/providers/janAi.js` (+93 -0) 📝 `server/utils/agents/index.js` (+6 -0) 📝 `server/utils/helpers/customModels.js` (+30 -0) 📝 `server/utils/helpers/index.js` (+8 -0) _...and 1 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 #4136 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Add Jan AI as LLM and agent providers ### 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:36:03 -05:00
yindo closed this issue 2026-02-22 18:36:03 -05:00
yindo changed title from [PR #4183] Jan AI LLM/agent provider to [PR #4183] [CLOSED] Jan AI LLM/agent provider 2026-06-05 15:19:07 -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#4546