agent: Support inserting selections as context via @selection (#29045)

WIP

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner
2025-04-22 13:56:42 +02:00
committed by GitHub
parent 10ded0ab75
commit a5852d4537
10 changed files with 548 additions and 191 deletions
+2 -2
View File
@@ -780,9 +780,9 @@ impl Thread {
cx,
);
}
AssistantContext::Excerpt(excerpt_context) => {
AssistantContext::Selection(selection_context) => {
log.buffer_added_as_context(
excerpt_context.context_buffer.buffer.clone(),
selection_context.context_buffer.buffer.clone(),
cx,
);
}