@sugarmo/aicommits 1.16.0 → 1.17.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 +8 -0
- package/dist/cli.mjs +115 -108
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -191,6 +191,14 @@ Required
|
|
|
191
191
|
|
|
192
192
|
API key for your configured API provider.
|
|
193
193
|
|
|
194
|
+
You can also keep the secret outside `config.toml` and reference an environment variable instead:
|
|
195
|
+
|
|
196
|
+
```toml
|
|
197
|
+
api-key = "env:OPENAI_API_KEY"
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
`${OPENAI_API_KEY}` is also supported if you prefer shell-style syntax.
|
|
201
|
+
|
|
194
202
|
#### base-url
|
|
195
203
|
|
|
196
204
|
Required
|