Add comprehensive debug logging for Google GenAI response parsing
- Log response type and all attributes - Log candidates structure and length - Log candidate attributes and content structure - Log parts structure and first part details - Log raw text extraction and parsing steps - Log final extracted text and finish reason - Add error logging with full stack trace for exceptions This will help identify where the parsing is failing when responses show as 'parsed=None' and clients receive nothing.
Showing
Please
register
or
sign in
to comment