Generate a concise Git commit subject through the local codex CLI.
Run Codex: Generate Commit Message from a repository's Source Control panel. The extension automatically uses that repository; if the command is run elsewhere, it uses the repository containing the active file.
Context is selected deliberately:
If a stash exists, the latest stash (stash@{0}) is used.
Otherwise, staged and unstaged local changes are used.
The result is inserted into the Git commit-message field and copied to the clipboard.
The default model is gpt-5.4-mini, with low reasoning and the standard service tier. Configure reasoningEffort and speed in VS Code Settings, or use Codex: Set Commit Message Reasoning and Codex: Set Commit Message Speed from the Command Palette. The Codex CLI must be installed and authenticated on the machine running VS Code.