Skip to content

feat(providers): add gemini to built-in providers - #930

Merged
lizhengfeng101 merged 5 commits into
alibaba:mainfrom
wu21-web:gemini
Aug 18, 2026
Merged

feat(providers): add gemini to built-in providers#930
lizhengfeng101 merged 5 commits into
alibaba:mainfrom
wu21-web:gemini

Conversation

@wu21-web

Copy link
Copy Markdown
Contributor

Description

Add gemini API to built-in providers

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring (no functional changes)
  • Documentation update
  • CI / Build / Tooling

How Has This Been Tested?

  • make test passes locally
  • Manual testing (describe below)

Checklist

  • My code follows the project's coding style (go fmt, go vet)
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or my feature works
  • New and existing unit tests pass locally with my changes
  • I have updated the documentation accordingly (if applicable)
  • I have signed the CLA

Related Issues

none yet

@github-actions

Copy link
Copy Markdown
Contributor

OpenCodeReview: Review complete: 0 finding(s) across 1 selected item(s).

@CLAassistant

CLAassistant commented Aug 15, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@wu21-web
wu21-web marked this pull request as ready for review August 16, 2026 00:08
@wu21-web

Copy link
Copy Markdown
Contributor Author

Does the CLA expire after some time?

Comment thread internal/llm/providers.go
Name: "gemini",
DisplayName: "Google Gemini API",
Protocol: ProtocolOpenAIChatCompletions,
BaseURL: "https://generativelanguage.googleapis.com/v1beta/openai",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will v1beta pose a risk?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What risk?
p.s I will get you back later on the pull request comments, currently busy.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2026-08-18 at 9 57 02 PM

Will v1beta pose a risk?

Comment thread internal/llm/providers.go Outdated

@lizhengfeng101 lizhengfeng101 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lizhengfeng101
lizhengfeng101 merged commit 35a06a4 into alibaba:main Aug 18, 2026
14 checks passed
@wu21-web
wu21-web deleted the gemini branch August 18, 2026 13:22
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.

3 participants