I have this error in the ai chat for the app builder what is it

400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.133.content.1: thinking or redacted_thinking blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response."},"request_id":"req_011CbiZ4PpQ9Zr2vtbJVxod5"}

Thanks for joining Office Hours, @Simon_Herbert! And welcome to the community. :slightly_smiling_face:

We should probably clean up the error and make it a little more clear, but the root cause (in this particular case, at least) is a full context window. You can click on the below icon in the chat interface at any time to switch between models and see how much of the current context window has been consumed.

Starting a new thread via the :plus: button will clear the context window and let you continue building!

Let me know if you have any additional questions, @Simon_Herbert!