fix(copilot): keep notifications visible and detect marker via message lookup

This commit is contained in:
Maxim Harizanov
2026-02-18 20:15:23 +02:00
parent 64e8e164aa
commit a85f7efb1d
4 changed files with 104 additions and 50 deletions
-2
View File
@@ -3,11 +3,9 @@ export const OMO_INTERNAL_INITIATOR_MARKER = "<!-- OMO_INTERNAL_INITIATOR -->"
export function createInternalAgentTextPart(text: string): {
type: "text"
text: string
synthetic: true
} {
return {
type: "text",
text: `${text}\n${OMO_INTERNAL_INITIATOR_MARKER}`,
synthetic: true,
}
}