diff --git a/desktop/src/stores/chatStore.test.ts b/desktop/src/stores/chatStore.test.ts index 47276030..ced3ef43 100644 --- a/desktop/src/stores/chatStore.test.ts +++ b/desktop/src/stores/chatStore.test.ts @@ -567,6 +567,56 @@ describe('chatStore history mapping', () => { ]) }) + it('restores visual selection history as annotated screenshot attachment without exposing model prompt', () => { + const modelPrompt = [ + '请根据截图中编号 1 的蓝色标注修改本地前端。', + '目标元素: