Added option to use Groq API by adding --groq flag to GIT_EDITOR.
Added environment variable GROQ_API_KEY to store Groq API key. Updated git commit example to include --groq flag.
This commit is contained in:
parent
e4d4abb082
commit
2268f9e401
@ -19,6 +19,15 @@ To use Aicommit, you need to have the following tools installed:
|
||||
```bash
|
||||
export GIT_EDITOR="<path/to/>aicommit"
|
||||
```
|
||||
Optionally you can add the `--groq` flag to use the Groq API.
|
||||
|
||||
```bash
|
||||
export GROQ_API_KEY=<groq-api-key>
|
||||
```
|
||||
|
||||
```bash
|
||||
export GIT_EDITOR="<path/to/>aicommit --groq"
|
||||
```
|
||||
|
||||
3. **Use Git as normal**: Once configured, you can use Git as you normally would. When you run `git commit`, Aicommit will generate a draft commit message using RayAI, which will then be loaded into your default editor for review and editing.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user