The AI Commit plugin stores its configuration in AICommit.xml. Users can configure several parameters related to the AI model, connection settings, and prompt behavior.
Key configuration areas include:
- OpenAI Connection: Set the
openAIHost (defaults to https://api.openai.com/v1), openAIToken (via the UI), and proxyUrl if a proxy is required. You can also adjust the openAISocketTimeout. - Model Selection: Choose from available
openAIModelIds (e.g., gpt-3.5-turbo, gpt-4) and adjust the openAITemperature (defaults to 0.7). - Prompts: The plugin uses a set of prompts to generate commit messages. You can switch the
currentPrompt from the available prompts map. - Localization: The
locale setting determines the language used for certain operations. - Exclusions:
appExclusions allows you to define a set of strings to exclude from the AI processing context.
/*
Configuration keys available in the plugin settings:
- openAIHost: String (default: "https://api.openai.com/v1")
- openAIModelId: String (default: "gpt-3.5-turbo")
- openAITemperature: String (default: "0.7")
- openAISocketTimeout: String (default: "30")
- proxyUrl: String?
- currentPrompt: Prompt
- locale: Locale
- appExclusions: Set<String>
*/