mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
Have @ pass through images and other Part objects (#990)
This commit is contained in:
parent
b7daa7c702
commit
dc378e8d60
2 changed files with 11 additions and 3 deletions
|
|
@ -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 ---' });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue