We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f410ba0 commit 14825baCopy full SHA for 14825ba
tests/specs/groq/conventional-commits.ts
@@ -1,5 +1,5 @@
1
import { expect, testSuite } from 'manten';
2
-import { generateCommitMessage } from '../../../src/utils/groq.js';
+import { generateCommitMessageFromSummary } from '../../../src/utils/groq.js';
3
import type { ValidConfig } from '../../../src/utils/config.js';
4
import { getDiff } from '../../utils.js';
5
@@ -138,9 +138,9 @@ export default testSuite(({ describe }) => {
138
'max-length': 50,
139
...configOverrides,
140
} as ValidConfig;
141
- const commitMessages = await generateCommitMessage(
+ const commitMessages = await generateCommitMessageFromSummary(
142
GROQ_API_KEY!,
143
- 'openai/gpt-oss-120b',
+ 'llama-3.1-8b-instant',
144
config.locale,
145
gitDiff,
146
config.generate,
0 commit comments