When the LLM returns text instead of a tool call for conversation analysis, try parsing the content as JSON before giving up. Also log what the model actually returns on failure for debugging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When the LLM returns text instead of a tool call for conversation analysis, try parsing the content as JSON before giving up. Also log what the model actually returns on failure for debugging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>