A reusable function to parse streaming JSON responses from the Google Gemini API.
这些是此脚本的所有版本。 只显示代码变更过的版本。