Skip to content

UI Bug when using AI with websearch tool and images #1871

@RafaelRMaier-CA

Description

@RafaelRMaier-CA

Describe the bug
I have a websearch tool in my AI backend. I prompt Blocknote to search for something, including images. Everything is brought in perfectly, but when the transaction is happening, the UI goes bananas. Sometimes the editor disappears, sometimes it becomes really small, and sometimes the AI accept/reject component gets thrown way off screen.

To Reproduce

  1. Setup an AI backend with web search capabilities
  2. Prompt BlockNote AI component to search the web for something and include images

Misc

  • Node version: 20.13.9
  • Package manager: Webpack
  • Browser: Chrome
Image Image

Edit: This happens even in your own demo:

Image

Metadata

Metadata

Assignees

No one assigned

    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