google-gemini / generative-ai-swift

The official Swift library for the Google Gemini API
https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=swift
Apache License 2.0
864 stars 131 forks source link

Switch to `gemini-1.5-pro-latest` in docs and tests #138

Closed andrewheard closed 2 months ago

andrewheard commented 2 months ago

Updated the README, parameter docs and tests to use gemini-1.5-pro-latest instead of gemini-1.0-pro or gemini-1.0-pro-vision-latest. This model supports all the capabilities offered by the SDK and doesn't require devs to pick between pro or pro-vision based on whether the prompt is multi-modal.

Note: Although the model specified in the unit tests doesn't actually matter, the API tests are example usage of the SDK so I updated them as well.