Added blog writer implementation - WIP

This commit is contained in:
ajaysi
2025-09-12 10:26:08 +05:30
parent 1b65a9487b
commit c0a366269d
38 changed files with 4948 additions and 98 deletions

View File

@@ -0,0 +1,21 @@
import { useCopilotAction } from '@copilotkit/react-core';
const useCopilotActionTyped = useCopilotAction as any;
export const RegisterBlogWriterActions: React.FC = () => {
useCopilotActionTyped({
name: 'Generate All Sections of Outline',
description: 'Generate content for every section in the current outline',
parameters: [],
handler: async () => {
// Frontend-only placeholder; generation handled via individual actions in UI for now
return { success: true };
},
});
return null;
};
export default RegisterBlogWriterActions;