Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support gemini-2.0-flash #2055

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Laisky
Copy link
Contributor

@Laisky Laisky commented Feb 6, 2025

功能

支持 Google 新发布的 gemini-2.0-flash 等模型

可以在 https://github.com/Laisky/one-api 试用

自测

CleanShot 2025-02-06 at 11 07 57@2x

- Enhance model support by adding new entries and refining checks for system instruction compatibility.
- Update logging display behavior and adjust default quotas for better user experience.
- Revamp pricing structures in the billing system to reflect current model values and deprecate outdated entries.
- Streamline code by replacing hardcoded values with configurations for maintainability.
@Laisky Laisky force-pushed the feature/gemini-2.0-flash branch from d70335e to f1f8aa9 Compare February 6, 2025 03:14
@yaleh
Copy link

yaleh commented Feb 6, 2025

I want it.

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