Skip to content

Error: invalid operation: Invalid block: block must be a string #1813

Open
@RafaelMaier94

Description

@RafaelMaier94

Describe the bug
I have been trying to get BlockNote working with Gemini. It's a demo really, there's nothing special about it.I pretty much copied everything from the documentation, just changed the model to Gemini-2.0. I am using Blocknote@0.33.0, so that should work.

To Reproduce

  1. Create an app with the blocknote text editor
  2. Add the ai component
  3. Add a gemini model
  4. Try and interact with it

StackBlitz:
https://stackblitz.com/edit/github-zvbzpwcp?file=App.tsx,package.json

Misc

  • Node version: v23.5.0
  • Package manager: npm
  • Browser: Chrome
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions