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
901 stars 141 forks source link

Implement API call to list currently available models #199

Open SilverMarcs opened 1 month ago

SilverMarcs commented 1 month ago

Description of the feature request:

An Api call that would eventually return a well structure Swift struct of a Model object as defined here. This endpoint should return the list of models.

What problem are you trying to solve with this feature?

Currently there is no way to dynamically retrieve the list of all available models. Having a method for this within the package would be very convenient.

Any other information you'd like to share?

No response

marb2000 commented 1 month ago

Thank you, @SilverMarcs, for your feature request. Based on our current engineering plan and product backlog, there is no plan to support this functionality on the client SDKs (iOS, Android, Flutter, and JS) in the short term (2024 timeframe). We will keep this open to make other users aware.