[PR #4178] [MERGED] Moonshot AI LLM & agent provider #4547

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/4178
Author: @shatfield4
Created: 7/18/2025
Status: Merged
Merged: 7/22/2025
Merged by: @timothycarambat

Base: masterHead: 4155-feat-moonshot-ai


📝 Commits (9)

  • 43edad0 add moonshot ai LLM & agent provider
  • cd286bb fix moonshot agent calling
  • beb41c0 handle attachments/fix moonshot llm provider
  • 9c07f05 update docs/example env
  • 3139093 add moonshot to onboarding privacy
  • ab9c7f9 add moonshot to onboarding llm preference
  • 9740d57 update privacy for moonshot ai
  • 5ccc2f8 update logo higher res
  • 6550efc remove caching and use modelmap

📊 Changes

21 files changed (+502 additions, -1 deletions)

View changed files

📝 README.md (+1 -0)
📝 docker/.env.example (+4 -0)
frontend/src/components/LLMSelection/MoonshotAiOptions/index.jsx (+117 -0)
frontend/src/media/llmprovider/moonshotai.png (+0 -0)
📝 frontend/src/pages/GeneralSettings/LLMPreference/index.jsx (+10 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx (+10 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx (+9 -0)
📝 frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx (+1 -0)
📝 server/.env.example (+4 -0)
📝 server/endpoints/utils.js (+3 -0)
📝 server/models/systemSettings.js (+5 -0)
📝 server/utils/AiProviders/modelMap/index.js (+1 -0)
server/utils/AiProviders/moonshotAi/index.js (+169 -0)
📝 server/utils/agents/aibitat/index.js (+2 -0)
📝 server/utils/agents/aibitat/providers/ai-provider.js (+8 -1)
📝 server/utils/agents/aibitat/providers/index.js (+2 -0)
server/utils/agents/aibitat/providers/moonshotAi.js (+103 -0)
📝 server/utils/agents/index.js (+6 -0)
📝 server/utils/helpers/customModels.js (+28 -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 #4155

What is in this change?

  • Add Moonshot AI as LLM provider
  • Add Moonshot AI as untooled agent provider
  • Update docs

Additional Information

  • Tested using Moonshot AI's native tool calling but is only available on Kimi models and doesn't function as well as untooled provider

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/4178 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 7/18/2025 **Status:** ✅ Merged **Merged:** 7/22/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `4155-feat-moonshot-ai` --- ### 📝 Commits (9) - [`43edad0`](https://github.com/Mintplex-Labs/anything-llm/commit/43edad015c6f1db5c3b8c44f15fc8742772fd35c) add moonshot ai LLM & agent provider - [`cd286bb`](https://github.com/Mintplex-Labs/anything-llm/commit/cd286bbd8bf14bf581de2b45ae172368d7ba4ea7) fix moonshot agent calling - [`beb41c0`](https://github.com/Mintplex-Labs/anything-llm/commit/beb41c0f8886cd663c5b9a99d9da88e8e3a4c569) handle attachments/fix moonshot llm provider - [`9c07f05`](https://github.com/Mintplex-Labs/anything-llm/commit/9c07f053996f124d2e6bc2d1a0c8dbb21564ed97) update docs/example env - [`3139093`](https://github.com/Mintplex-Labs/anything-llm/commit/31390936a1ec5d28d4aebc207049bded8b74137d) add moonshot to onboarding privacy - [`ab9c7f9`](https://github.com/Mintplex-Labs/anything-llm/commit/ab9c7f9517c8466f7abd9724e365e48a43617f7d) add moonshot to onboarding llm preference - [`9740d57`](https://github.com/Mintplex-Labs/anything-llm/commit/9740d57e1b659279b733a4be8ff9db7cfff8ce08) update privacy for moonshot ai - [`5ccc2f8`](https://github.com/Mintplex-Labs/anything-llm/commit/5ccc2f80b7054327c5bc25c81ed467e706b8f5e5) update logo higher res - [`6550efc`](https://github.com/Mintplex-Labs/anything-llm/commit/6550efc23cc562a956ccf2f5daccf88083807124) remove caching and use modelmap ### 📊 Changes **21 files changed** (+502 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `docker/.env.example` (+4 -0) ➕ `frontend/src/components/LLMSelection/MoonshotAiOptions/index.jsx` (+117 -0) ➕ `frontend/src/media/llmprovider/moonshotai.png` (+0 -0) 📝 `frontend/src/pages/GeneralSettings/LLMPreference/index.jsx` (+10 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx` (+10 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx` (+9 -0) 📝 `frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx` (+1 -0) 📝 `server/.env.example` (+4 -0) 📝 `server/endpoints/utils.js` (+3 -0) 📝 `server/models/systemSettings.js` (+5 -0) 📝 `server/utils/AiProviders/modelMap/index.js` (+1 -0) ➕ `server/utils/AiProviders/moonshotAi/index.js` (+169 -0) 📝 `server/utils/agents/aibitat/index.js` (+2 -0) 📝 `server/utils/agents/aibitat/providers/ai-provider.js` (+8 -1) 📝 `server/utils/agents/aibitat/providers/index.js` (+2 -0) ➕ `server/utils/agents/aibitat/providers/moonshotAi.js` (+103 -0) 📝 `server/utils/agents/index.js` (+6 -0) 📝 `server/utils/helpers/customModels.js` (+28 -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 #4155 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Add Moonshot AI as LLM provider - Add Moonshot AI as untooled agent provider - Update docs ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> - Tested using Moonshot AI's native tool calling but is only available on Kimi models and doesn't function as well as untooled provider ### 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 #4178] Moonshot AI LLM & agent provider to [PR #4178] [MERGED] Moonshot 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#4547