feat(assistant): unify confirmed memory capture
This commit is contained in:
@@ -14,9 +14,13 @@ test('问师傅为文字、媒体和数据工具请求携带同一短期会话
|
||||
});
|
||||
|
||||
test('问师傅支持显式新对话、版本回写和受控原文件或视频卡', async () => {
|
||||
const page = await read('../src/pages/user/sop/index.vue');
|
||||
const [page, header] = await Promise.all([
|
||||
read('../src/pages/user/sop/index.vue'),
|
||||
read('../src/components/chat/AskSourceHeader.vue')
|
||||
]);
|
||||
|
||||
assert.match(page, /@click="startNewConversation">新对话/);
|
||||
assert.match(page, /@new-conversation="startNewConversation"/);
|
||||
assert.match(header, /@click="emit\('newConversation'\)">新对话/);
|
||||
assert.match(page, /const contextVersion = ref\(0\)/);
|
||||
assert.match(page, /applyConversationState\(nextResult\)/);
|
||||
assert.match(page, /authenticatedFileUrl\(resource\.contentUrl\)/);
|
||||
|
||||
Reference in New Issue
Block a user