Bladeren bron

Remove debugging output that is no longer needed

Kumi 1 jaar geleden
bovenliggende
commit
09393b4216
1 gewijzigde bestanden met toevoegingen van 0 en 4 verwijderingen
  1. 0 4
      src/gptbot/classes/openai.py

+ 0 - 4
src/gptbot/classes/openai.py

@@ -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.")