feat(selection-assistant): update Quote behavior to use XML <quote> tags (#13001)

This commit is contained in:
张君一
2026-02-24 14:06:56 +08:00
committed by GitHub
parent 0989f9b820
commit a3df57d437

View File

@@ -145,10 +145,5 @@ export function addImageFileToContents(messages: Message[]) {
}
export function formatQuotedText(text: string) {
return (
text
.split('\n')
.map((line) => `> ${line}`)
.join('\n') + '\n-------------'
)
return '<blockquote>\n\n' + text + '\n</blockquote>\n'
}