What is the effect of deleteing message from the a thread?

Hi

I thought that a message deleted from a thread would not affect text generated in further runs, but that does not seem to be the case.

How does the assistant react to deleted thread messages?

Thanks
Sasha

A proper exchange has two parts: the user input, and the assistant output. There can also be unseen tool calls and responses that you can’t affect.

So generally, you’d want to purposefully blast two messages of an exchange at once.

How does it “react”? The AI never knew it happened. How would the AI answer my last question if I never changed the topic from football to car racing here in the screenshot?

I’m sure you can come up with a method for testing the effectiveness and effect, and that you have success in deletion verified by listing the thread messages. You can also pull the last answer from the assistant off the end of the stack to try a run again.

Thank you for your response

That is what I thought as well

However I observed a test case where the assistant’s responses were based on deleted messages.

Based on your description I understand that tool responses are not deleted and might somehow leak previous interactions into the assistant context.

Do you think it might happen? Is there any way to delete tool responses as well?

Thanks
Sasha