feat: improve prompt management (#7853)

This commit is contained in:
darkskygit
2024-08-14 08:38:36 +00:00
parent cd3924b8fc
commit 339c39c1ec
13 changed files with 161 additions and 105 deletions
@@ -7,7 +7,7 @@ export const promptKeys = [
'debug:action:fal-upscaler',
'debug:action:fal-remove-bg',
'debug:action:fal-face-to-sticker',
'chat:gpt4',
'Chat With AFFiNE AI',
'Summary',
'Generate a caption',
'Summary the webpage',
@@ -42,7 +42,7 @@ export function createChatSession({
return client.createSession({
workspaceId,
docId,
promptName: 'chat:gpt4',
promptName: 'Chat With AFFiNE AI',
});
}