Skip to content

Conversation

tarampampam
Copy link
Owner

This commit adds support for the OpenAI provider, allowing users to choose between Gemini and OpenAI for generating commit messages.

  • Added OpenAI provider implementation
  • Updated CLI flags to include OpenAI API key and model name
  • Updated configuration file to include OpenAI settings
  • Added AI provider selection logic
  • Added max output tokens option

The configuration can be adjusted via environment variables or config file.

This commit adds support for the OpenAI provider, allowing users to
choose between Gemini and OpenAI for generating commit messages.

- Added OpenAI provider implementation
- Updated CLI flags to include OpenAI API key and model name
- Updated configuration file to include OpenAI settings
- Added AI provider selection logic
- Added max output tokens option

The configuration can be adjusted via environment variables or config file.
This change introduces a new flag `--max-output-tokens` to limit the
number of tokens in the AI-generated commit message. This helps control
the length and cost of the generated message.

- Added `--max-output-tokens` flag
- Implemented token limit in AI options
@tarampampam tarampampam merged commit d15df8a into master Feb 14, 2025
9 checks passed
@tarampampam tarampampam deleted the feat/deepseek branch February 14, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant