feat: add slide action (#6560)

This commit is contained in:
regischen
2024-04-15 09:47:46 +00:00
parent d00879aceb
commit 50292ba008
@@ -220,6 +220,14 @@ export function setupAIProvider() {
}); });
}); });
AIProvider.provide('createSlides', options => {
return textToText({
...options,
content: options.input,
promptName: 'Create a presentation',
});
});
AIProvider.provide('histories', { AIProvider.provide('histories', {
actions: async ( actions: async (
workspaceId: string, workspaceId: string,