docs: Update some AI-related content (#47178)
Clean up some writing and add content about newer features. Release Notes: - N/A
This commit is contained in:
1 parent
01028489e9
commit
4e066564ba
4 files changed
+47
-30
No files matched your search
+7
-4
@@ -138,9 +138,11 @@ To open the stash diff view, select a stash from the stash picker and use the {#
|
||||
Zed currently supports LLM-powered commit message generation.
|
||||
You can ask AI to generate a commit message by focusing on the message editor within the Git Panel and either clicking on the pencil icon in the bottom left, or reaching for the {#action git::GenerateCommitMessage} ({#kb git::GenerateCommitMessage}) keybinding.
|
||||
|
||||
> Note that you need to have an LLM provider configured for billing purposes, either via your own API keys or trialing/paying for Zed's hosted AI models. Visit [the AI configuration page](./ai/configuration.md) to learn how to do so.
|
||||
> Note that you need to have an LLM provider configured either via your own API keys or through Zed's hosted AI models.
|
||||
> 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/agent-settings.md#feature-specific-models) for more information.
|
||||
You can specify your preferred model to use by providing a `commit_message_model` agent setting.
|
||||
See [Feature-specific models](./ai/agent-settings.md#feature-specific-models) for more information.
|
||||
|
||||
```json [settings]
|
||||
{
|
||||
@@ -153,11 +155,12 @@ You can specify your preferred model to use by providing a `commit_message_model
|
||||
}
|
||||
```
|
||||
|
||||
To customize the format of generated commit messages, run {#action agent::OpenRulesLibrary} and select the "Commit message" rule on the left side. From there, you can modify the prompt to match your desired format.
|
||||
To customize the format of generated commit messages, run {#action agent::OpenRulesLibrary} and select the "Commit message" rule on the left side.
|
||||
From there, you can modify the prompt to match your desired format.
|
||||
|
||||
<!-- Add media -->
|
||||
|
||||
More advanced AI integration with Git features may come in the future.
|
||||
Any specific instructions for commit messages added to [Rules files](./ai/rules.md) are also picked up by the model tasked with writing your commit message.
|
||||
|
||||
## Git Integrations
|
||||
|
||||
|
||||
Reference in new issue
Block a user