feat: basic copilot plugin implement (#6229)

fix CLOUD-25
This commit is contained in:
darkskygit
2024-04-02 07:04:49 +00:00
parent 366e0a4b60
commit 593161dccb
10 changed files with 215 additions and 0 deletions

View File

@@ -38,6 +38,11 @@ if (env.R2_OBJECT_STORAGE_ACCOUNT_ID) {
}`;
}
AFFiNE.plugins.use('copilot', {
openai: {
apiKey: 'test',
},
});
AFFiNE.plugins.use('redis');
AFFiNE.plugins.use('payment', {
stripe: {