- Moves AI settings into a new AI section
- Renames new setting into a `gitlens.ai` namespace and changes it to be an enum for easier selection
- Updates max characters to be dependent on selected model
@ -8,7 +8,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Added
- Adds a `gitlens.experimental.openAIModel` setting to specify the OpenAI model to use to generate commit messages when using the `GitLens: Generate Commit Message` command (defaults to `gpt-3.5-turbo`) — closes [#2636](https://github.com/gitkraken/vscode-gitlens/issues/2636) thanks to [PR #2637](https://github.com/gitkraken/vscode-gitlens/pull/2637) by Daniel Rodríguez ([@sadasant](https://github.com/sadasant))
- Adds ability to choose the OpenAI model used for GitLens' experimental AI features — closes [#2636](https://github.com/gitkraken/vscode-gitlens/issues/2636) thanks to [PR #2637](https://github.com/gitkraken/vscode-gitlens/pull/2637) by Daniel Rodríguez ([@sadasant](https://github.com/sadasant))
- Adds a `gitlens.ai.experimental.openai.model` setting to specify the OpenAI model (defaults to `gpt-3.5-turbo`)
"default":"Commit messages must have a short description that is less than 50 chars followed by a newline and a more detailed description.\n- Write concisely using an informal tone and avoid specific names from the code",
"markdownDescription":"Specifies the prompt to use to tell OpenAI how to structure or format the generated commit message",
"scope":"window",
"order":1
},
"gitlens.ai.experimental.openai.model":{
"type":"string",
"default":"gpt-3.5-turbo",
"enum":[
"gpt-3.5-turbo",
"gpt-3.5-turbo-0301",
"gpt-4",
"gpt-4-0314",
"gpt-4-32k",
"gpt-4-32k-0314"
],
"enumDescriptions":[
"GPT 3.5 Turbo",
"GPT 3.5 Turbo (March 1, 2021)",
"GPT 4",
"GPT 4 (March 14, 2021)",
"GPT 4 32k",
"GPT 4 32k (March 14, 2021)"
],
"markdownDescription":"Specifies the OpenAI model to use for GitLens' experimental AI features",
"default":"Commit messages must have a short description that is less than 50 chars followed by a newline and a more detailed description.\n- Write concisely using an informal tone and avoid specific names from the code",
"markdownDescription":"Specifies the prompt to use to tell OpenAI how to structure or format the generated commit message",
"scope":"window",
"order":55
},
"gitlens.experimental.openAIModel":{
"type":"string",
"default":"gpt-3.5-turbo",
"markdownDescription":"Specifies the OpenAI model to use to generate commit messages when using the `GitLens: Generate Commit Message` command",