Remove debugging output that is no longer needed
This commit is contained in:
parent
48f13fcf7f
commit
09393b4216
1 changed files with 0 additions and 4 deletions
|
@ -83,10 +83,6 @@ class OpenAI:
|
||||||
)
|
)
|
||||||
response = await self._request_with_retries(chat_partial)
|
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
|
result_text = response.choices[0].message.content
|
||||||
tokens_used = response.usage.total_tokens
|
tokens_used = response.usage.total_tokens
|
||||||
self.logger.log(f"Generated response with {tokens_used} tokens.")
|
self.logger.log(f"Generated response with {tokens_used} tokens.")
|
||||||
|
|
Loading…
Reference in a new issue