superagent-ai / superagent

🥷 Run AI-agents with an API
https://docs.superagent.sh
MIT License
5.28k stars 835 forks source link

Support for Gemini Ai models #997

Open seshubonam opened 5 months ago

seshubonam commented 5 months ago

⚠️ Please check that this feature request hasn't been suggested before.

🔖 Feature description

Very competitive pricing and multi modal ability makes gemini models a must have in the agent building process.

Hoping to test workflows and multi agent setup with gemini models, if this integration is added to the language model section.

GNld0r2bcAAhYrX

https://aistudio.google.com/ the users can get an api key

Acknowledgements

seshubonam commented 5 months ago

Screenshot_20240531_083622_X.jpg

https://twitter.com/minimaxir/status/1796232299652251712?t=DRbA1p-Bfes3L6jLFRQC0Q&s=19

JSON mode with gemini models

seshubonam commented 5 months ago

sorry to keep coming back.

but this could be useful to integrate gemin modelsi:

https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/call-gemini-using-openai-library#call-chat-completions-api

Screenshot_20240608_073000_X.jpg