That doesn't really look right to me, it looks like that's for responding regarding uploaded documents. I see nothing related to infinite context.
Also this is the azure repo from OP, nothing to do with the actual ChatGPT front-end that was asked about. I highly doubt the official ChatGPT front-end uses langchain, for example.
I don't see anything related to an infinite context in there. There's only a reference to a server-side `summary` variable which suggests that there is a summary of previous posts which will get sent along with the question for context, as is to be expected. Nothing suggests an infinite context.
*Edit Azure chatgpt, would be amazed/disappointed if chatgpt used langchain.