carlrobertoh / CodeGPT

JetBrains extension providing access to state-of-the-art LLMs, such as GPT-4, Claude 3, Code Llama, and others, all for free
https://codegpt.ee
Apache License 2.0
885 stars 184 forks source link

Commit message templates not working in 2.8.0 #593

Open Bikkies opened 3 weeks ago

Bikkies commented 3 weeks ago

What happened?

After upgrading to 2.8.0-241.1 in phpstorm 2024.1.2, the {BRANCH_NAME} template no longer works. It just shows BRANCH-UNKNOWN to the LLM. Downgrading to 2.7.1-241 solves the issue and correctly replaces the template with the branch name.

Relevant log output or stack trace

No response

Steps to reproduce

Include {BRANCH_NAME} in the Commit Message Template and test with verbose output on the LLM to see the input. On 2.8.0, it will be replaced to BRANCH-UNKNOWN. On 2.7.1 it will be correctly replaced with the branch name.

CodeGPT version

2.8.0

Operating System

Windows