one-api/relay/adaptor/vertexai
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
..
claude fix: changeoptional field to pointer type (#1907) 2024-11-09 23:31:46 +08:00
gemini feat: support gemini-2.0-flash (#2055) 2025-02-12 00:34:25 +08:00
adaptor.go feat: vertexai support proxy url(example: cloudflare ai gateway) and fix some vertexai bug (#1642) 2024-07-16 01:02:06 +08:00
registry.go fix: implement improved headers for anthropic to support 8k outputs (#1654) 2024-07-16 23:48:54 +08:00
token.go fix: implement improved headers for anthropic to support 8k outputs (#1654) 2024-07-16 23:48:54 +08:00