[PR #4573] [MERGED] Z.ai LLM & agent provider #4679

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4573
Author: @shatfield4
Created: 10/22/2025
Status: Merged
Merged: 11/20/2025
Merged by: @timothycarambat

Base: masterHead: 4563-feat-add-zai-provider


📝 Commits (5)

  • acee761 wip zai llm provider
  • c036d8f cleanup + add zai agent provider
  • bf6bb16 lint
  • 7c36eb1 Merge branch 'master' into 4563-feat-add-zai-provider
  • 1475947 change how caching works for failed models

📊 Changes

26 files changed (+581 additions, -79 deletions)

View changed files

📝 README.md (+1 -0)
📝 docker/.env.example (+4 -0)
frontend/src/components/LLMSelection/ZAiLLMOptions/index.jsx (+114 -0)
frontend/src/media/llmprovider/zai.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)
📝 locales/README.fa-IR.md (+1 -0)
📝 locales/README.ja-JP.md (+2 -0)
📝 locales/README.tr-TR.md (+73 -72)
📝 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/modelMap/index.js (+11 -5)
📝 server/utils/AiProviders/ollama/index.js (+3 -2)
server/utils/AiProviders/zai/index.js (+179 -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 #4563

What is in this change?

  • Adds Z.ai LLM provider
  • Adds Z.ai agent provider

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/4573 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `4563-feat-add-zai-provider` --- ### 📝 Commits (5) - [`acee761`](https://github.com/Mintplex-Labs/anything-llm/commit/acee761920420f50e83c48d55407a360243129ec) wip zai llm provider - [`c036d8f`](https://github.com/Mintplex-Labs/anything-llm/commit/c036d8fdeaa0537d3bd7ca87010a0f0c351d16fa) cleanup + add zai agent provider - [`bf6bb16`](https://github.com/Mintplex-Labs/anything-llm/commit/bf6bb1610be9bc76e0b667b1fa975e9e8ecd19b1) lint - [`7c36eb1`](https://github.com/Mintplex-Labs/anything-llm/commit/7c36eb176fa78637d2393240306e8bb4f0f44ee5) Merge branch 'master' into 4563-feat-add-zai-provider - [`1475947`](https://github.com/Mintplex-Labs/anything-llm/commit/1475947c273abc42690ceecf809fa5927b23fb4e) change how caching works for failed models ### 📊 Changes **26 files changed** (+581 additions, -79 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) 📝 `docker/.env.example` (+4 -0) ➕ `frontend/src/components/LLMSelection/ZAiLLMOptions/index.jsx` (+114 -0) ➕ `frontend/src/media/llmprovider/zai.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) 📝 `locales/README.fa-IR.md` (+1 -0) 📝 `locales/README.ja-JP.md` (+2 -0) 📝 `locales/README.tr-TR.md` (+73 -72) 📝 `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/modelMap/index.js` (+11 -5) 📝 `server/utils/AiProviders/ollama/index.js` (+3 -2) ➕ `server/utils/AiProviders/zai/index.js` (+179 -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 #4563 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Adds Z.ai LLM provider - Adds Z.ai agent provider ### 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:19 -05:00
yindo closed this issue 2026-02-22 18:36:19 -05:00
yindo changed title from [PR #4573] Z.ai LLM & agent provider to [PR #4573] [MERGED] Z.ai LLM & agent provider 2026-06-05 15:19:47 -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#4679