Images are Sending in User's Text-Only Chats

I ran into a situation where my bot thinks I’m sending images in each message that I send to it, even though there are no images in the message. A subscriber to my bot reported the same issue last night.

Example:
-I send my bot a message that includes an image.
-The bot sees the image and the message, as expected, which is good.
-After that, I send my bot a message that does not include an image.
-The bot sees the message, as well as the same image I sent it previously, which is not expected and is not good.

So, it seems like, for whatever reason, the backend is sending prior images in text-only messages to the bot. I tried troubleshooting this with AI, but I could not solve it. I experimented with changing the image settings to “this thread only” vs. “all pickaxes”, and that did not make a difference.

Thanks

Let me know if you need any additional info from me. This bug is affecting multiple users, and it’s really taking a toll on the user experience in a big way.

Update: adding this string of text to my bot’s instructions seems to have fixed the issue, although it’s not foolproof and a native solution would likely work better.

- Ignore all previous image/file attachments that you see attached to user messages for current chats, EXCEPT for images/files that are relevant to the current chat. Read or look at the files every time to determine which ones are relevant. Example: A user has five uploaded images saved in their profile, but only one of them is relevant to the current chat. Just use that one as needed, or use none of them if none of them are relevant to the current chat.

Hi @runtheprompts,

It seems like we were able to resolve this issue over email! Images being used as context in the same chat is expected behavior. If you’d like to remove this, you can do it through prompting just like what you attached! We appreciate you sharing this so other users can try it out!

If you find that the images you’re uploading are being used across chats or agents, you might have the “All tools for each user” setting enabled for uploading files! Turning the setting to “This thread only” will ensure that the images attached will only be relevant to the current chat!