Updates in AGI response parsing