What it adds
Commands (5)
| Command | Id |
|---|---|
| AI Helpers: Write a Commit Message from Staged Changes | aiHelpers.commitMessage |
| AI Helpers: Write a Pull Request Description... | aiHelpers.prDescription |
| AI Helpers: Explain the Selected Code | aiHelpers.explainSelection |
| AI Helpers: Regular Expression from a Description... | aiHelpers.regexFromEnglish |
| AI Helpers: Ask Again Before Sending Anything | aiHelpers.forgetConsent |
Settings
| Setting | Default | What it does |
|---|---|---|
aiHelpers.provider | 'openai' | openai works with OpenAI and any OpenAI-compatible service (including local ones). anthropic is the Claude API. |
aiHelpers.baseUrl | '' | The service address. Empty uses https://api.openai.com/v1 or https://api.anthropic.com. https is required (http only for localhost). |
aiHelpers.model | '' | The model name. Empty uses gpt-4o-mini for openai and claude-sonnet-5-5 for anthropic. |
aiHelpers.apiKey | '' | Your API key. It is stored in your Ferrum settings in plain text on this computer. |
aiHelpers.baseBranch | 'main' | The branch pull request descriptions compare against. |
Code
Runs JavaScript from extension.js when: onCommand:aiHelpers.commitMessage, onCommand:aiHelpers.prDescription, onCommand:aiHelpers.explainSelection, onCommand:aiHelpers.regexFromEnglish, onCommand:aiHelpers.forgetConsent.