Add debug logging for streaming chunk serialization errors
- Log chunk type and content before serialization attempt - Log chunk type and content when serialization fails - Helps diagnose 'Tool choice is none, but model called a tool' errors - Apply debug logging to both RequestHandler and AutoselectHandler streaming methods
Showing
Please
register
or
sign in
to comment