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
- `glm-4.6` - Latest GLM model with strong reasoning capabilities
136
-
- `glm-4.5`- High-performance model with thinking mode support
137
-
- `glm-4.5-air`- Lightweight version of GLM-4.5
138
-
139
-
To get started with Z.AI:
140
-
1. Register at [Z.AI Open Platform](https://z.ai/model-api)
141
-
2. Create an API key in the [API Keys](https://z.ai/manage-apikey/apikey-list) management page
142
-
3. Set the `ZAI_API_KEY` environment variable or add it to your config
143
-
4. Configure lazycommit as shown above
144
-
145
-
Notes:
146
-
- Copilot: requires a GitHub token with models scope. The tool can also discover IDE Copilot tokens, but models scope is recommended.
147
-
- Environment variable references are supported by prefixing with `$` (e.g., `$OPENAI_API_KEY`).
148
-
- Custom endpoints must be OpenAI-compatible for proper functionality.
149
-
- Endpoint URLs are validated to ensure they use HTTP/HTTPS protocols and have valid hosts.
150
-
151
-
### Configure via CLI
152
-
153
-
```bash
154
-
lazycommit config set # interactive provider/model/key/endpoint picker
155
-
lazycommit config get # show current provider/model/endpoint
156
-
```
157
-
158
-
The interactive setup will now prompt for custom endpoint URLs as well. You can leave this field empty to use the default endpoint for the selected provider.
0 commit comments