Remove debugging output that is no longer needed

This commit is contained in:
Kumi 2023-11-11 14:54:40 +01:00
parent 48f13fcf7f
commit 09393b4216
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -83,10 +83,6 @@ class OpenAI:
)
response = await self._request_with_retries(chat_partial)
self.logger.log(response, "error")
self.logger.log(response.choices, "error")
self.logger.log(response.choices[0].message, "error")
result_text = response.choices[0].message.content
tokens_used = response.usage.total_tokens
self.logger.log(f"Generated response with {tokens_used} tokens.")