docs: Refine a few AI pages (#31381)

Mostly sharpening the words, simplifying, and removing duplicate
content.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-05-25 11:03:14 -03:00 committed by GitHub
parent 4c28d2c2e2
commit 1b3f20bdf4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 62 additions and 50 deletions

View file

@ -1,22 +1,20 @@
# Inline Assistant
## Using the Inline Assistant
## Usage Overview
You can use `ctrl-enter` to open the Inline Assistant nearly anywhere you can enter text: editors, the agent panel, the prompt library, channel notes, and even within the terminal panel.
Use `ctrl-enter` to open the Inline Assistant nearly anywhere you can enter text: editors, text threads, the rules library, channel notes, and even within the terminal panel.
The Inline Assistant allows you to send the current selection (or the current line) to a language model and modify the selection with the language model's response.
You can use `ctrl-enter` to open the inline assistant nearly anywhere you can write text: editors, the Agent Panel, the Rules Library, channel notes, and even within the terminal panel.
You can also perform multiple generation requests in parallel by pressing `ctrl-enter` with multiple cursors, or by pressing `ctrl-enter` with a selection that spans multiple excerpts in a multibuffer.
You can also perform multiple generation requests in parallel by pressing `ctrl-enter` with multiple cursors, or by pressing the same binding with a selection that spans multiple excerpts in a multibuffer.
## Context
You can give the Inline Assistant context the same way you can in the agent panel, allowing you to provide additional instructions or rules for code transformations with @-mentions.
Give the Inline Assistant context the same way you can in [the Agent Panel](./agent-panel.md), allowing you to provide additional instructions or rules for code transformations with @-mentions.
A useful pattern here is to create a thread in the [Agent Panel](./agent-panel.md), and then use the `@thread` command in the Inline Assistant to include the thread as context for the Inline Assistant transformation.
A useful pattern here is to create a thread in the Agent Panel, and then use the mention that thread with `@thread` in the Inline Assistant to include it as context.
The Inline Assistant is limited to normal mode context windows (see [Models](./models.md) for more).
> The Inline Assistant is limited to normal mode context windows ([see Models](./models.md) for more).
## Prefilling Prompts