mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 20:01:33 +00:00
a515442a36
This PR simplifies our approach to indentation in the inline assistant in hopes of improving our experience for Python. We tell the model to generate the correct indentation in the prompt, and always start generating at the start of the line. This may fall down for less capable models, but I want to get a solid experience on the best models and then figure the rest out later. Also: We now prefer `./assets/prompts` as an overrides directory when stdout is a PTY, so you can do `cargo run` and then iterate prompts for the current run inside the current working copy. cc @trishume @dsp-ant Release Notes: - Zed now allows the model to control indentation when performing inline transformation. We're hoping this improves the indentation experience in Python and other indentation-sensitive languages, but it does require more from the model. --------- Co-authored-by: Mikayla <mikayla@zed.dev> |
||
---|---|---|
.. | ||
content_prompt.hbs | ||
edit_workflow.hbs | ||
step_resolution.hbs | ||
terminal_assistant_prompt.hbs |