fix: Ignore unknown fields in rest streaming. (#651)

* Ignore unknown fields in rest streaming.

If the api adds a new field to a stremaing response, it shouldn't break old clients.

We found this in the google.ai.generativelanguage API. Colab forces our clients to use rest, so all our streaming examples broke when the API team rolled out a new field.

* format

---------

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 file changed