You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature: Allow specifying the Gemini model in the API URL
This commit introduces the ability to specify the Gemini model to be used when calling the generative language API. Previously, the model was hardcoded to `gemini-1.5-flash-latest`. This change modifies the `url` function to accept an optional `model` parameter, allowing users to select different Gemini models (e.g., different versions or specialized models) if needed. The default remains `gemini-1.5-flash-latest` for backward compatibility.
0 commit comments