feat: Add debug print for AI response usage metadata
This commit is contained in:
parent
896dc8a610
commit
2aecba84a5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user