Require /file or /tab when using Suggest Edits (#19960)
Now if you try to do Suggest Edits without a file context, you see this (and it doesn't run the query). <img width="635" alt="Screenshot 2024-10-30 at 10 51 24 AM" src="https://github.com/user-attachments/assets/a3997ba6-98a9-4bfa-81b6-1d8579c26fd7"> Release Notes: - N/A --------- Co-authored-by: Antonio <antonio@zed.dev>
This commit is contained in:
parent
515fd7b75f
commit
c564a4a26c
5 changed files with 62 additions and 7 deletions
|
@ -137,7 +137,7 @@ Zed has the following internal prompt templates:
|
|||
|
||||
- `content_prompt.hbs`: Used for generating content in the editor.
|
||||
- `terminal_assistant_prompt.hbs`: Used for the terminal assistant feature.
|
||||
- `edit_workflow.hbs`: Used for generating the edit workflow prompt.
|
||||
- `suggest_edits.hbs`: Used for generating the model instructions for the XML Suggest Edits should return.
|
||||
- `step_resolution.hbs`: Used for generating the step resolution prompt.
|
||||
|
||||
At this point it is unknown if we will expand templates further to be user-creatable.
|
||||
|
@ -215,7 +215,7 @@ The following templates can be overridden:
|
|||
given system information and latest terminal output if relevant.
|
||||
```
|
||||
|
||||
3. `edit_workflow.hbs`: Used for generating the edit workflow prompt.
|
||||
3. `suggest_edits.hbs`: Used for generating the model instructions for the XML Suggest Edits should return.
|
||||
|
||||
4. `step_resolution.hbs`: Used for generating the step resolution prompt.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue