one-api/relay
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
..
adaptor feat: support gemini-2.0-flash (#2055) 2025-02-12 00:34:25 +08:00
apitype feat: support replicate chat models (#1989) 2024-12-21 14:41:19 +08:00
billing feat: support gemini-2.0-flash (#2055) 2025-02-12 00:34:25 +08:00
channeltype feat: add AliBailian adaptor and update channel options 2025-02-12 00:15:43 +08:00
constant feat: support set system prompt for channel (close #1920) 2024-11-10 14:53:34 +08:00
controller fix: update system prompt handling by renaming field and ensuring proper usage in request processing (close #2069) 2025-02-09 14:41:42 +08:00
meta fix: update system prompt handling by renaming field and ensuring proper usage in request processing (close #2069) 2025-02-09 14:41:42 +08:00
model feat: add completion tokens details and reasoning effort fields to model (close #2050) 2025-02-09 18:14:01 +08:00
relaymode feat: add Proxy channel type and relay mode (#1678) 2024-07-22 22:51:19 +08:00
adaptor_test.go chore: add ut 2024-06-23 14:28:55 +08:00
adaptor.go feat: support replicate chat models (#1989) 2024-12-21 14:41:19 +08:00