Streamed responses with web search corrupted by citations

There was a recent update to the responses API which is causing any streamed response. which includes web search call citations, to be corrupted with what look like citation markers. Because these are look like failed substitutions there is not even any way to remove them without also removing a chunk of the response.

This is super bad bug with very obvious visual artifacts so I very much hope it will be addressed soon.

There is a gist here …

The offending payload looks includes these sequences: