-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
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
AI Plugin does not preserve all tokens after newlines added #4040
Comments
I have found via my testing that if I comment out the |
I have the same problem whenever I use the ai feature |
I can't find this function anywhere in my code, I'm using the plate-ai template |
@ruimarcosjoao take a look at #4041 to see what I did. These edits will probably need to be made in node_modules for you. |
in node_module i can't see this function |
Description
After a double new line from the llm (or psuedo llm) the editor correctly loads each chunk as its fed in however once they are all loaded the chunks after the first set of double new lines are lost.
Reproduction URL
https://platejs.org/blocks/ai-demo
Reproduction steps
Plate version
43.0.2
Slate React version
0.110.1
Screenshots
Logs
Browsers
No response
The text was updated successfully, but these errors were encountered: