Skip to content

Commit 625be63

Browse files
refactor: update config
1 parent abcda0a commit 625be63

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ body:
7777
description: |
7878
Please share your Groq API configuration (remove sensitive data):
7979
placeholder: |
80-
Model: llama-3.1-8b-instant
80+
Model: llama-3.3-70b-versatile
8181
Type: conventional
8282
Max length: 50
8383
Locale: en

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,10 @@ lazycommit config set proxy=
248248

249249
#### model
250250

251-
Default: `llama-3.1-8b-instant`
251+
Default: `llama-3.3-70b-versatile`
252252

253253
The Groq model to use for generating commit messages. Available models include:
254-
- `llama-3.1-8b-instant` (default) - Fast, efficient for conventional commits
255-
- `llama-3.1-70b-versatile` - More detailed but slower
254+
- `llama-3.3-70b-versatile` (default) - Fast, efficient for conventional commits
256255
- `llama-3.1-120b-versatile` - Most capable but slowest
257256

258257
For conventional commit generation, the 8B instant model provides the best balance of speed and quality.
@@ -344,7 +343,7 @@ If you get a 413 error, your diff is too large for the API. Try these solutions:
344343

345344
### Slow performance with large diffs
346345

347-
- **Use the 8B instant model** (default): `lazycommit config set model "llama-3.1-8b-instant"`
346+
- **Use the 8B instant model** (default): `lazycommit config set model "llama-3.3-70b-versatile"`
348347
- Exclude unnecessary files: `lazycommit --exclude "*.log" --exclude "*.tmp"`
349348
- Use automatic multi-commit mode to split large changes into logical groups
350349
- Lower generate count: `lazycommit config set generate=1` (default)

src/utils/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const configParsers = {
8080
},
8181
model(model?: string) {
8282
if (!model || model.length === 0) {
83-
return 'llama-3.1-8b-instant';
83+
return 'llama-3.3-70b-versatile';
8484
}
8585

8686
return model;

tests/specs/groq/conventional-commits.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default testSuite(({ describe }) => {
140140
} as ValidConfig;
141141
const commitMessages = await generateCommitMessageFromSummary(
142142
GROQ_API_KEY!,
143-
'llama-3.1-8b-instant',
143+
'llama-3.3-70b-versatile',
144144
config.locale,
145145
gitDiff,
146146
config.generate,

0 commit comments

Comments
 (0)