mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-04 11:09:01 +08:00
feat: support save chat to block (#7481)
This commit is contained in:
@@ -11,6 +11,17 @@ vi.mock('@blocksuite/presets', () => ({
|
||||
DocTitle: vi.fn(),
|
||||
EdgelessEditor: vi.fn(),
|
||||
PageEditor: vi.fn(),
|
||||
AIChatBlockSchema: {
|
||||
version: 1,
|
||||
model: {
|
||||
version: 1,
|
||||
flavour: 'affine:embed-ai-chat',
|
||||
role: 'content',
|
||||
children: [],
|
||||
},
|
||||
},
|
||||
AIChatBlockSpec: {},
|
||||
EdgelessAIChatBlockSpec: {},
|
||||
}));
|
||||
|
||||
vi.mock('@blocksuite/presets/ai', () => ({
|
||||
|
||||
Reference in New Issue
Block a user