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
This commit is contained in:
Laisky.Cai
2025-02-12 00:34:25 +08:00
committed by GitHub
parent 6916debf66
commit fef7ae048b
7 changed files with 76 additions and 31 deletions

View File

@@ -224,4 +224,4 @@ export function getChannelModels(type) {
return channelModels[type];
}
return [];
}
}