Ruby Gemini AI 3.1.0
New version available on RubyGems:
gem 'gemini-ai', '~> 3.1'
New in this version:
- Upgrading to Faraday 2.8.1
- add timeout option #7 - thanks @naoa!
- Adding support to configure timeout:
client = Gemini.new(
credentials: { service: 'vertex-ai-api', region: 'us-east4' },
options: {
model: 'gemini-pro',
connection: { request: { timeout: 5 } }
}
)