We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dea030 commit de5cbafCopy full SHA for de5cbaf
crates/agent/src/outline.rs
@@ -44,6 +44,7 @@ pub async fn get_buffer_content_or_outline(
44
.collect::<Vec<_>>()
45
})?;
46
47
+ // If no outline exists, fall back to first 1KB so the agent has some context
48
if outline_items.is_empty() {
49
let text = buffer.read_with(cx, |buffer, _| {
50
let snapshot = buffer.snapshot();
0 commit comments