Turning on debug mode on when interacting with OpenAI API (and other LLM provider APIs) results in empty body for any subsequent code - body is read by Saloon Debugger class, but then cannot be accessed anymore.
I think the reason is that the response body is unseekable and is not (and / or can not) be rewinded.
Is there any standard way of handling debugging in case of unseekable response streams?
Turning on debug mode on when interacting with OpenAI API (and other LLM provider APIs) results in empty body for any subsequent code - body is read by Saloon Debugger class, but then cannot be accessed anymore.
I think the reason is that the response body is unseekable and is not (and / or can not) be rewinded.
Is there any standard way of handling debugging in case of unseekable response streams?