aicommits 2.0.0-develop.5 → 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 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
- Alternatively, you can use environment variables (recommended for CI/CD):
45
+ **For CI/CD environments**, you can also set up configuration via the config file:
46
46
 
47
47
  ```bash
48
- export OPENAI_API_KEY="your_api_key_here"
49
- export OPENAI_BASE_URL="your_api_endpoint" # Optional, for custom endpoints
50
- export OPENAI_MODEL="your_model_choice" # Optional, defaults to provider default
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.