aicommit2 2.4.22 → 2.4.24
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 +14 -0
- package/dist/cli.mjs +125 -125
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -473,6 +473,18 @@ You can find the path of the currently loaded configuration file using the `conf
|
|
|
473
473
|
aicommit2 config path
|
|
474
474
|
```
|
|
475
475
|
|
|
476
|
+
#### Environment Variable Expansion in Config File
|
|
477
|
+
|
|
478
|
+
You can use environment variables in your configuration file values. Both `$VAR` and `${VAR}` syntax are supported.
|
|
479
|
+
|
|
480
|
+
Example `config.ini`:
|
|
481
|
+
|
|
482
|
+
```ini
|
|
483
|
+
[OPENAI]
|
|
484
|
+
key=$OPENAI_API_KEY
|
|
485
|
+
url=${CUSTOM_API_URL}/v1
|
|
486
|
+
```
|
|
487
|
+
|
|
476
488
|
#### Reading and Setting Configuration
|
|
477
489
|
|
|
478
490
|
- READ: `aicommit2 config get [<key> [<key> ...]]`
|
|
@@ -796,6 +808,8 @@ Default: `0.9`
|
|
|
796
808
|
|
|
797
809
|
Nucleus sampling, where the model considers the results of the tokens with top_p probability mass.
|
|
798
810
|
|
|
811
|
+
> **Note**: Claude 4.x models do not support using `temperature` and `top_p` simultaneously. For these models, `top_p` is automatically excluded.
|
|
812
|
+
|
|
799
813
|
```sh
|
|
800
814
|
aicommit2 config set topP=0.2
|
|
801
815
|
```
|