Skip to content

fix: Fix Gemini provider when used through Agent interface#25

Merged
nyo16 merged 1 commit intomasterfrom
fix/gemini-provider-agent-integration
Mar 4, 2026
Merged

fix: Fix Gemini provider when used through Agent interface#25
nyo16 merged 1 commit intomasterfrom
fix/gemini-provider-agent-integration

Conversation

@nyo16
Copy link
Copy Markdown
Owner

@nyo16 nyo16 commented Mar 4, 2026

  • Add /v1beta to Model.default_base_url(:gemini) to match the provider default
  • Override build_request_params in Gemini provider to send contents/systemInstruction instead of messages/system
  • Use modelVersion from API response instead of hardcoded "gemini-model"
  • Expand Gemini test coverage from 3 to 20 tests

- Add /v1beta to Model.default_base_url(:gemini) to match the provider default
- Override build_request_params in Gemini provider to send contents/systemInstruction instead of messages/system
- Use modelVersion from API response instead of hardcoded "gemini-model"
- Expand Gemini test coverage from 3 to 20 tests
@nyo16 nyo16 merged commit 9e39e87 into master Mar 4, 2026
3 of 6 checks passed
@nyo16 nyo16 deleted the fix/gemini-provider-agent-integration branch March 5, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant