mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
feat(core): add with your docs label to ai answer (#10124)
Fix issue [BS-2425](https://linear.app/affine-design/issue/BS-2425). 
This commit is contained in:
@@ -865,7 +865,7 @@ test.describe('chat with doc', () => {
|
||||
name: 'You',
|
||||
content: 'What is AFFiNE AI?',
|
||||
});
|
||||
expect(history[1].name).toBe('AFFiNE AI');
|
||||
expect(history[1].name).toBe(`AFFiNE AI\nwith your docs`);
|
||||
expect(
|
||||
await page.locator('chat-panel affine-footnote-node').count()
|
||||
).toBeGreaterThan(0);
|
||||
|
||||
Reference in New Issue
Block a user