Add reference to commit_message_model
in git docs. (#33186)
Release Notes: - N/A
This commit is contained in:
parent
8d05f6fdd3
commit
534475d7aa
1 changed files with 14 additions and 0 deletions
|
@ -76,6 +76,20 @@ You can ask AI to generate a commit message by focusing on the message editor wi
|
||||||
|
|
||||||
> Note that you need to have an LLM provider configured. Visit [the AI configuration page](./ai/configuration.md) to learn how to do so.
|
> Note that you need to have an LLM provider configured. Visit [the AI configuration page](./ai/configuration.md) to learn how to do so.
|
||||||
|
|
||||||
|
You can specify your preferred model to use by providing a `commit_message_model` agent setting. See [Feature-specific models](./ai/configuration.md#feature-specific-models) for more information.
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"agent": {
|
||||||
|
"version": "2",
|
||||||
|
"commit_message_model": {
|
||||||
|
"provider": "anthropic",
|
||||||
|
"model": "claude-3-5-haiku"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Add media -->
|
<!-- Add media -->
|
||||||
|
|
||||||
More advanced AI integration with Git features may come in the future.
|
More advanced AI integration with Git features may come in the future.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue