What specific Node.js version is required to install and run aicommits?
aicommits requires Node.js version v22 or newer. Users can verify their Node.js version by running node --version in their terminal.
Can aicommits automatically stage files before generating a commit message?
Yes, aicommits can automatically stage changes in tracked files. This functionality is enabled by using the --all or -a flag when running the aicommits command.
What are the supported AI providers for generating commit messages?
aicommits supports several AI providers, including TogetherAI (recommended), OpenAI, Groq, xAI, and OpenRouter. It also supports local AI models via Ollama and LM Studio, and custom OpenAI-compatible endpoints.
How can I configure aicommits for use in a CI/CD environment without interactive setup?
For CI/CD environments, aicommits can be configured using the aicommits config set command. This allows setting API keys, base URLs, and model choices directly, which creates a .aicommits file in the home directory.
What options are available for customizing the format of the generated commit messages?
aicommits offers three commit message formats: plain (default), conventional (for Conventional Commits), and gitmoji (for emoji-based messages). Users can specify their preferred format using the --type or -t flag.
Is it possible to generate multiple commit message suggestions simultaneously?
Yes, users can generate multiple commit message recommendations by using the --generate <i> or -g <i> flag, where i represents the desired number of suggestions. This feature may consume more tokens and incur higher costs.