Hey everyone, I’m running into an issue with Mastra when using it for image generation. I’m building an agent that generates images through a chat interface, using the Nano Banana image-to-image model. The problem is that image generation only works correctly if the image generation tool is called within the same message where the user uploads the image.
Has anyone faced this before or found a way to make it work across multiple messages (e.g., when the image is uploaded in one message and processed in the next)?