refactor(core): migrate ai preset to AFFiNE (#7219)

## TL;DR
Move `@blocksuite/presets/ai` to AFFiNE. After this PR is merged, you can use AI features from `@affine/core/blocksuite/presets/ai`.
This commit is contained in:
L-Sun
2024-06-18 07:31:06 +00:00
parent 0fe672efa5
commit b3ec3a2b3e
84 changed files with 17228 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
import { AIProvider } from '@affine/core/blocksuite/presets/ai';
import { apis } from '@affine/electron-api';
import type { OAuthProviderType } from '@affine/graphql';
import { AIProvider } from '@blocksuite/presets/ai';
import {
ApplicationFocused,
ApplicationStarted,