Skip to content

Commit message generation does not update after changing "github.copilot.chat.commitMessageGeneration.instructions" config #256495

Open
@jheisonnovak

Description

@jheisonnovak

I’m experiencing an issue where updating the github.copilot.chat.commitMessageGeneration.instructions setting does not reflect in the generated commit messages. Even after updating the setting and reloading VS Code, the commit message generation continues to use the previous configuration.

  • Copilot Chat Extension Version: 1.344.0
  • VS Code Version: 1.102.0
  • OS Version: Win 11
  • Feature (e.g. agent/edit/ask mode): generate commit message
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): Claude 4.0 Sonnet

Steps to Reproduce:

  1. Configure the setting "github.copilot.chat.commitMessageGeneration.instructions" with a custom text, for example:
{
  "github.copilot.chat.commitMessageGeneration.instructions": [
    {
      "text": "my text"
    }
  ]
}
  1. Use the Copilot Chat commit message generation feature — it generates a commit message based on the above config.
  2. Change the "github.copilot.chat.commitMessageGeneration.instructions" text to something diferente.
  3. Try to generate the commit message again.
  4. Observe that the commit message still uses the previous config text.
  5. Reload VS Code and try generating the commit message again.
  6. The old configuration is still used instead of the updated one.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions