Description
Hi,
I’ve integrated AI into the BlockNote editor following the official documentation, using Groq as the provider and the llama-3-70b-versatile
model.
However, I’m encountering several issues:
-
Very short or incomplete responses
When prompting the AI to help write content, it often returns just a single word or one short sentence, rather than providing meaningful assistance in drafting text. This happens consistently even with simple prompts. -
Fails completely on empty documents
If the document is completely empty and I ask the AI to generate content (e.g., "write a paragraph about x"), the request fails systematically: nothing is inserted and no helpful error message is returned. -
Tool calling issues with other models
I’ve also tried other models via Groq, but most of them fail to call the JSON tool correctly. Instead of invoking the tool, they either return nothing useful or trigger an error. This makes the AI integration essentially unusable in most cases.
Has anyone experienced similar issues? Is there a workaround or recommended model/provider combo that works well with BlockNote’s AI features?
Thanks in advance!