feat: Add debug print for AI response usage metadata

This commit is contained in:
Slipstream 2025-06-01 18:03:40 -06:00
parent 896dc8a610
commit 2aecba84a5
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -1114,6 +1114,8 @@ CRITICAL: Do NOT output anything other than the required JSON response.
ai_response_content = self._get_response_text(response)
print(response.usage_metadata) # Print usage metadata for debugging
if not ai_response_content:
print("Error: AI response content is empty or could not be extracted.")
# Log safety ratings if available