one-api/relay/billing/ratio
Laisky.Cai fef7ae048b
feat: support gemini-2.0-flash (#2055)
* feat: support gemini-2.0-flash

- 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.

* feat: add new Gemini 2.0 flash models to adapter and billing ratio

* fix: update GetRequestURL to support gemini-1.5 model in versioning
2025-02-12 00:34:25 +08:00
..
group.go fix: add read/write locks for ModelRatio and GroupRatio to prevent concurrent map read/write issues (#2067) 2025-02-09 11:02:45 +08:00
image.go feat: update stepfun models (#1740) 2024-09-21 22:48:46 +08:00
model.go feat: support gemini-2.0-flash (#2055) 2025-02-12 00:34:25 +08:00