aicommits 2.0.0-develop.6 → 2.0.0-develop.7
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 +4 -4
- package/dist/{cli-XtSyeMbO.mjs → cli-DCmfuE46.mjs} +78 -78
- package/dist/cli.mjs +1 -1
- package/dist/{token-DNwNl9lq.mjs → token-D3jNblEu.mjs} +1 -1
- package/dist/{token-util-sPpU_r-u.mjs → token-util-1Jd7Idxd.mjs} +1 -1
- package/dist/{token-util-B3pODKMI.mjs → token-util-2ex-gCVa.mjs} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,12 +42,12 @@ This will guide you through:
|
|
|
42
42
|
- **Ollama** (local) - Run AI models locally with [Ollama](https://ollama.ai)
|
|
43
43
|
- **Custom OpenAI-compatible endpoint** - Use any service that implements the OpenAI API
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
**For CI/CD environments**, you can also set up configuration via the config file:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
aicommits config set OPENAI_API_KEY="your_api_key_here"
|
|
49
|
+
aicommits config set OPENAI_BASE_URL="your_api_endpoint" # Optional, for custom endpoints
|
|
50
|
+
aicommits config set OPENAI_MODEL="your_model_choice" # Optional, defaults to provider default
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
> **Note:** When using environment variables, ensure all related variables (e.g., `OPENAI_API_KEY` and `OPENAI_BASE_URL`) are set consistently to avoid configuration mismatches with the config file.
|