mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-07 18:46:38 +08:00
Compare commits
7 Commits
80e3862fcc
...
0423eed88b
Author | SHA1 | Date | |
---|---|---|---|
|
0423eed88b | ||
|
d958441d7f | ||
|
1600b96454 | ||
|
47047a60b2 | ||
|
80d7fd9b98 | ||
|
e8a18d0b38 | ||
|
2e34f1c8e4 |
@ -282,6 +282,14 @@ DeepSeek Api Key.
|
||||
|
||||
DeepSeek Api Url.
|
||||
|
||||
### `XAI_API_KEY` (optional)
|
||||
|
||||
Grok Api Key.
|
||||
|
||||
### `XAI_URL` (optional)
|
||||
|
||||
Grok Api Url.
|
||||
|
||||
### `HIDE_USER_API_KEY` (optional)
|
||||
|
||||
> Default: Empty
|
||||
|
@ -479,19 +479,20 @@ export const VISION_MODEL_REGEXES = [
|
||||
/vision/,
|
||||
/gpt-4o/,
|
||||
/gpt-4\.1/,
|
||||
/claude-3/,
|
||||
/claude.*[34]/,
|
||||
/gemini-1\.5/,
|
||||
/gemini-exp/,
|
||||
/gemini-2\.0/,
|
||||
/gemini-2\.[05]/,
|
||||
/learnlm/,
|
||||
/qwen-vl/,
|
||||
/qwen2-vl/,
|
||||
/gpt-4-turbo(?!.*preview)/, // Matches "gpt-4-turbo" but not "gpt-4-turbo-preview"
|
||||
/^dall-e-3$/, // Matches exactly "dall-e-3"
|
||||
/gpt-4-turbo(?!.*preview)/,
|
||||
/^dall-e-3$/,
|
||||
/glm-4v/,
|
||||
/vl/i,
|
||||
/o3/,
|
||||
/o4-mini/,
|
||||
/grok-4/i,
|
||||
];
|
||||
|
||||
export const EXCLUDE_VISION_MODEL_REGEXES = [/claude-3-5-haiku-20241022/];
|
||||
@ -554,6 +555,7 @@ const googleModels = [
|
||||
"gemini-2.0-pro-exp",
|
||||
"gemini-2.0-pro-exp-02-05",
|
||||
"gemini-2.5-pro-preview-06-05",
|
||||
"gemini-2.5-pro"
|
||||
];
|
||||
|
||||
const anthropicModels = [
|
||||
|
Loading…
Reference in New Issue
Block a user