ZIm/crates/assistant2/src
Agus Zubiaga 1bf1c7223f
assistant edit tool: Fix editing files in context (#26751)
When the user attached context in the thread, the editor model request
would fail because its tool use wouldn't be removed properly leading to
an API error.

Also, after an edit, we'd keep the old file snapshot in the context.
This would make the model think that the edits didn't apply and make it
go in a loop.

Release Notes:

- N/A
2025-03-14 17:07:43 -03:00
..
context_picker assistant2: Truncate thread title in context picker (#26775) 2025-03-14 11:03:57 -03:00
ui assistant2: Truncate context pill labels (#26721) 2025-03-13 16:56:49 -03:00
active_thread.rs assistant edit tool: Fix editing files in context (#26751) 2025-03-14 17:07:43 -03:00
assistant.rs assistant2: Add ability to open the active thread as Markdown (#26690) 2025-03-13 12:39:01 -04:00
assistant_configuration.rs Revert "ui: Color cleanup (#26673)" (#26681) 2025-03-13 15:40:57 +00:00
assistant_model_selector.rs Fix language model selector (#26138) 2025-03-05 12:48:10 -05:00
assistant_panel.rs assistant edit tool: Fix editing files in context (#26751) 2025-03-14 17:07:43 -03:00
buffer_codegen.rs chore: Extract PromptStore out of prompt_library (#25837) 2025-03-01 00:34:28 +01:00
context.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
context_picker.rs Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
context_store.rs assistant edit tool: Fix editing files in context (#26751) 2025-03-14 17:07:43 -03:00
context_strip.rs assistant2: Remove unneeded pub on field (#26399) 2025-03-10 20:55:53 +00:00
history_store.rs Introduce rating for assistant threads (#26780) 2025-03-14 14:41:50 +00:00
inline_assistant.rs New excerpt controls (#24428) 2025-03-13 15:52:47 -06:00
inline_prompt_editor.rs New excerpt controls (#24428) 2025-03-13 15:52:47 -06:00
message_editor.rs assistant edit tool: Fix editing files in context (#26751) 2025-03-14 17:07:43 -03:00
terminal_codegen.rs windows: Fix terminal inline assistant (#25715) 2025-02-27 10:03:46 +08:00
terminal_inline_assistant.rs chore: Extract PromptStore out of prompt_library (#25837) 2025-03-01 00:34:28 +01:00
thread.rs assistant edit tool: Fix editing files in context (#26751) 2025-03-14 17:07:43 -03:00
thread_history.rs Introduce rating for assistant threads (#26780) 2025-03-14 14:41:50 +00:00
thread_store.rs Introduce rating for assistant threads (#26780) 2025-03-14 14:41:50 +00:00
tool_selector.rs assistant2: Refine thread design (#26783) 2025-03-14 12:09:24 -03:00
tool_use.rs assistant edit tool: Fix editing files in context (#26751) 2025-03-14 17:07:43 -03:00
ui.rs assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00