Remove extra `: ` that sometimes occurs on Duo Chat streaming
requested to merge 447544-streaming-chunked-graphql-api-for-duo-chat-returns-inconsistent-first-chunk into master
NOTE This did not work to fix the issue on production
What does this MR do and why?
Sometimes when streaming Duo Chat text, it contains an extra :
or Answer:
before the text.
This does not seem to happen locally, at least not nearly as often.
This MR introduces a quick fix to strip the leading :
or Answer:
from the streamed text.
MR acceptance checklist
Screenshots or screen recordings
None
How to set up and validate locally
None, except maybe a quick regression test of Duo Chat features. I was not able to replicate this bug locally though.
Related to #447544 (closed)
Edited by Lesley Razzaghian