Some additional checks in AGI response parsing