@sachinthapa572/lazycommit 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/cli.mjs +2081 -69
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -295,6 +295,12 @@ Required
|
|
|
295
295
|
|
|
296
296
|
The Groq API key. You can retrieve it from [Groq Console](https://console.groq.com/keys).
|
|
297
297
|
|
|
298
|
+
#### CEREBRAS_API_KEY
|
|
299
|
+
|
|
300
|
+
Required when `provider=cerebras`
|
|
301
|
+
|
|
302
|
+
The Cerebras API key. You can retrieve it from [Cerebras Platform](https://cloud.cerebras.ai).
|
|
303
|
+
|
|
298
304
|
#### provider
|
|
299
305
|
|
|
300
306
|
Default: `groq`
|
|
@@ -304,6 +310,7 @@ Provider used to generate commit messages.
|
|
|
304
310
|
Supported values:
|
|
305
311
|
|
|
306
312
|
- `groq`
|
|
313
|
+
- `cerebras`
|
|
307
314
|
- `github`
|
|
308
315
|
|
|
309
316
|
Examples:
|
|
@@ -311,6 +318,7 @@ Examples:
|
|
|
311
318
|
```sh
|
|
312
319
|
lazycommit config set provider=github
|
|
313
320
|
lazycommit config set provider=groq
|
|
321
|
+
lazycommit config set provider=cerebras
|
|
314
322
|
```
|
|
315
323
|
|
|
316
324
|
When switching providers, lazycommit automatically resets `model` to that provider's default if the current model is incompatible.
|
|
@@ -353,6 +361,9 @@ Available models by provider:
|
|
|
353
361
|
- `moonshotai/kimi-k2-instruct`
|
|
354
362
|
- `groq/compound`
|
|
355
363
|
- `groq/compound-mini`
|
|
364
|
+
- `cerebras`:
|
|
365
|
+
- `qwen-3-235b-a22b-instruct-2507` (default)
|
|
366
|
+
- `llama3.1-8b`
|
|
356
367
|
- `github`:
|
|
357
368
|
- `gpt-5-mini` (default)
|
|
358
369
|
- `gpt-5.4-mini`
|
|
@@ -362,6 +373,7 @@ Example:
|
|
|
362
373
|
|
|
363
374
|
```sh
|
|
364
375
|
lazycommit config set provider=github model=gpt-5.4-mini
|
|
376
|
+
lazycommit config set CEREBRAS_API_KEY=<your-api-key> provider=cerebras model=qwen-3-235b-a22b-instruct-2507
|
|
365
377
|
```
|
|
366
378
|
|
|
367
379
|
#### timeout
|