You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add GLM Coding Plan toggle for Z AI provider
- Add zaiUseGlmCodingPlan field to provider settings schema
- Update ZAiHandler to route requests through coding plan endpoints when enabled
- Add UI toggle in Z AI settings with appropriate labels and descriptions
- Add comprehensive tests for the new functionality
- Add English translation keys for the new toggle
This allows users with a Z AI GLM Coding Plan to use their plan instead of API credits
Copy file name to clipboardExpand all lines: webview-ui/src/i18n/locales/en/settings.json
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -294,6 +294,8 @@
294
294
"getZaiApiKey": "Get Z AI API Key",
295
295
"zaiEntrypoint": "Z AI Entrypoint",
296
296
"zaiEntrypointDescription": "Please select the appropriate API entrypoint based on your location. If you are in China, choose open.bigmodel.cn. Otherwise, choose api.z.ai.",
297
+
"zaiUseGlmCodingPlan": "Use GLM Coding Plan",
298
+
"zaiUseGlmCodingPlanDescription": "Route requests through GLM Coding Plan endpoints to use your plan instead of API credits. When plan limits are reached, disable this toggle to continue with API credits.",
0 commit comments