The issue appears to be in the extractCleanJsonContent method and the JSON parsing logic in finalizeStreamProcessing. The tool call content appears to be malformed or contains extra characters that ...