feat: add slide action (#6560)

This commit is contained in:
regischen 2024-04-15 09:47:46 +00:00
parent d00879aceb
commit 50292ba008
No known key found for this signature in database
GPG Key ID: 46C9E26A75AB276C

View File

@ -220,6 +220,14 @@ export function setupAIProvider() {
});
});
AIProvider.provide('createSlides', options => {
return textToText({
...options,
content: options.input,
promptName: 'Create a presentation',
});
});
AIProvider.provide('histories', {
actions: async (
workspaceId: string,