@johnowennixon/diffdash 1.2.1 → 1.3.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 +15 -9
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,11 +21,26 @@ A command-line tool to generate Git commit messages using AI.
|
|
|
21
21
|
npm install -g @johnowennixon/diffdash
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
## LLM Models
|
|
25
|
+
|
|
26
|
+
Currently, for this application, the best LLM model by far is **gpt-4.1-mini** from OpenAI.
|
|
27
|
+
It is set as the default model.
|
|
28
|
+
I can only presume they have done a ton of training on diffs.
|
|
29
|
+
|
|
24
30
|
## API Keys
|
|
25
31
|
|
|
26
32
|
DiffDash requires at least one API key for an LLM provider. These must be provided as environment variables.
|
|
27
33
|
|
|
28
34
|
```bash
|
|
35
|
+
# For OpenAI (recommended)
|
|
36
|
+
export OPENAI_API_KEY=your-api-key
|
|
37
|
+
|
|
38
|
+
# For Requesty
|
|
39
|
+
export REQUESTY_API_KEY=your-api-key
|
|
40
|
+
|
|
41
|
+
# For OpenRouter
|
|
42
|
+
export OPENROUTER_API_KEY=your-api-key
|
|
43
|
+
|
|
29
44
|
# For Anthropic
|
|
30
45
|
export ANTHROPIC_API_KEY=your-api-key
|
|
31
46
|
|
|
@@ -34,15 +49,6 @@ export DEEPSEEK_API_KEY=your-api-key
|
|
|
34
49
|
|
|
35
50
|
# For Google Gemini
|
|
36
51
|
export GEMINI_API_KEY=your-api-key
|
|
37
|
-
|
|
38
|
-
# For OpenAI
|
|
39
|
-
export OPENAI_API_KEY=your-api-key
|
|
40
|
-
|
|
41
|
-
# For Requesty
|
|
42
|
-
export REQUESTY_API_KEY=your-api-key
|
|
43
|
-
|
|
44
|
-
# For OpenRouter
|
|
45
|
-
export OPENROUTER_API_KEY=your-api-key
|
|
46
52
|
```
|
|
47
53
|
|
|
48
54
|
## Usage
|
package/dist/package.json
CHANGED