Have @ pass through images and other Part objects (#990)

This commit is contained in:
Seth Troisi
2025-06-12 16:17:44 -07:00
committed by GitHub
parent b7daa7c702
commit dc378e8d60
2 changed files with 11 additions and 3 deletions

View File

@@ -381,7 +381,12 @@ export async function handleAtCommand({
text: `\nContent from @${filePathSpecInContent}:\n`,
});
processedQueryParts.push({ text: fileActualContent });
} else {
processedQueryParts.push({ text: part });
}
} else {
// part is a Part object.
processedQueryParts.push(part);
}
}
processedQueryParts.push({ text: '\n--- End of content ---' });