-
Notifications
You must be signed in to change notification settings - Fork 614
feat: add support for Zhipu GLM 4.5 series models #659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe changes introduce five new "GLM-4.5" series models to the Zhipu (BigModel.cn) provider across three files. These models are added to the default model settings, the provider-specific configuration, and the list of models returned by the Zhipu provider, enabling their selection and use within the application. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant App
participant ZhipuProvider
User->>App: Open provider model selection
App->>ZhipuProvider: fetchOpenAIModels()
ZhipuProvider-->>App: Return models (incl. GLM-4.5 series)
App-->>User: Display GLM-4.5 series models for selection
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes found. Possibly related PRs
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (9)**/*.{ts,tsx,js,jsx,vue}📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
src/main/**/*.ts📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
src/main/presenter/**/*.ts📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
src/main/presenter/llmProviderPresenter/providers/*.ts📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
**/*.{js,jsx,ts,tsx}📄 CodeRabbit Inference Engine (.cursor/rules/development-setup.mdc)
Files:
src/{main,renderer}/**/*.ts📄 CodeRabbit Inference Engine (.cursor/rules/electron-best-practices.mdc)
Files:
src/main/**/*.{ts,js,tsx,jsx}📄 CodeRabbit Inference Engine (.cursor/rules/project-structure.mdc)
Files:
src/main/presenter/configPresenter/**/*.ts📄 CodeRabbit Inference Engine (CLAUDE.md)
Files:
🧠 Learnings (3)src/main/presenter/llmProviderPresenter/providers/zhipuProvider.ts (10)Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR src/main/presenter/configPresenter/providerModelSettings.ts (10)Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR Learnt from: CR src/main/presenter/configPresenter/modelDefaultSettings.ts (2)Learnt from: CR Learnt from: CR 🔇 Additional comments (3)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
close #652

add support for Zhipu GLM 4.5 series models
Summary by CodeRabbit