feat(config):更新默认模型和相关配置

更新默认模型和相关配置:
- 将默认测试模型从 gemini-1.5-flash 更新为 gemini-2.5-flash-lite
- 更新思考模型列表至 gemini-2.5-flash 和 gemini-2.5-pro
- 添加新的图像模型 gemini-2.5-flash-image-preview
- 更新搜索模型配置以支持最新的 Gemini 2.5 系列
- 同步更新文档中的模型配置说明
This commit is contained in:
snaily
2025-09-18 05:24:29 +08:00
parent 78f38cc981
commit 05762cb6a5
5 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -184,9 +184,9 @@ This endpoint is directly forwarded to official OpenAI Compatible API format end
| `ALLOWED_TOKENS` | **Required**, list of access tokens | `[]` |
| `AUTH_TOKEN` | Super admin token, defaults to the first of `ALLOWED_TOKENS` | `sk-123456` |
| `ADMIN_SESSION_EXPIRE` | Admin session expiration time in seconds (5 minutes to 24 hours) | `3600` |
| `TEST_MODEL` | Model for testing key validity | `gemini-1.5-flash` |
| `IMAGE_MODELS` | Models supporting image generation | `["gemini-2.0-flash-exp"]` |
| `SEARCH_MODELS` | Models supporting web search | `["gemini-2.0-flash-exp"]` |
| `TEST_MODEL` | Model for testing key validity | `gemini-2.5-flash-lite` |
| `IMAGE_MODELS` | Models supporting image generation | `["gemini-2.0-flash-exp", "gemini-2.5-flash-image-preview"]` |
| `SEARCH_MODELS` | Models supporting web search | `["gemini-2.5-flash","gemini-2.5-pro"]` |
| `FILTERED_MODELS` | Disabled models | `[]` |
| `TOOLS_CODE_EXECUTION_ENABLED` | Enable code execution tool | `false` |
| `SHOW_SEARCH_LINK` | Display search result links in response | `true` |