feat: 添加 gemini-2.5-flash-lite 到 GEMINI_MODELS 列表

This commit is contained in:
hex2077 2025-08-30 23:33:14 +08:00
parent bd30a5f8d3
commit 372e5a7e59

View file

@ -14,7 +14,7 @@ const CODE_ASSIST_ENDPOINT = 'https://cloudcode-pa.googleapis.com';
const CODE_ASSIST_API_VERSION = 'v1internal';
const OAUTH_CLIENT_ID = '681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com';
const OAUTH_CLIENT_SECRET = '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';
const GEMINI_MODELS = ['gemini-2.5-flash', 'gemini-2.5-pro'];
const GEMINI_MODELS = ['gemini-2.5-flash-lite', 'gemini-2.5-flash', 'gemini-2.5-pro'];
function toGeminiApiResponse(codeAssistResponse) {
if (!codeAssistResponse) return null;