We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i am generating the content using the custom prompt a random text is getting appended to it (please refer to image for more clarification)
const handleGenerateContent = useCallback(() => { if (editor && prompt) { editor .chain() .focus() .aiTextPrompt({ text: prompt, stream: streamMode, format: 'rich-text', insertAt: editor.state.doc.content.size, }) .run(); setPrompt(''); // Reset the prompt after generating content } }, [editor, prompt, streamMode]);
the is the function for generating the content using custom prompt
In the demo example of provide context also you replicate the same issue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When i am generating the content using the custom prompt
a random text is getting appended to it (please refer to image for more clarification)
const handleGenerateContent = useCallback(() => { if (editor && prompt) { editor .chain() .focus() .aiTextPrompt({ text: prompt, stream: streamMode, format: 'rich-text', insertAt: editor.state.doc.content.size, }) .run(); setPrompt(''); // Reset the prompt after generating content } }, [editor, prompt, streamMode]);
the is the function for generating the content using custom prompt
In the demo example of provide context also you replicate the same issue
The text was updated successfully, but these errors were encountered: