Changed the targetBranch to by default use the current. This is intended to allow me to use the command from my local branch without needing to retype it, mainly when the project default branch is not main.
Adjusted the git process to run actually where the command is requested (to allow debugging targetting other projects)
This PR also corrects a bug in the OpenAI Turbo default value.
Changes:
PRCommand.cs:
Modified the target branch option to accept a nullable string value.
Updated the default value for the target branch option.
Modified the RunPullRequestFeedback method to handle nullable target branch values.
Modified the RunPullRequestDescription method to handle nullable target branch values.
ConfigurationProvider.cs:
Changed OPENAI_CHAT_MODEL_ID constant as the default model for OpenAI ChatGPT has a dot in the model.
Summary:
Changed the targetBranch to by default use the current. This is intended to allow me to use the command from my local branch without needing to retype it, mainly when the project default branch is not
main
.Adjusted the git process to run actually where the command is requested (to allow debugging targetting other projects)
This PR also corrects a bug in the OpenAI Turbo default value.
Changes:
Fixes: