mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-12 20:23:45 +08:00
feat: 添加联网搜索功能,更新相关配置和多语言支持
This commit is contained in:
@@ -296,6 +296,15 @@ export function isDalle3(model: string) {
|
||||
return "dall-e-3" === model;
|
||||
}
|
||||
|
||||
export function canUseNetWork(model: string) {
|
||||
return (
|
||||
model.includes("qwen-max") ||
|
||||
model.includes("qwen-plus") ||
|
||||
model.includes("qwen-turbo") ||
|
||||
model.includes("qwq")
|
||||
);
|
||||
}
|
||||
|
||||
export function getTimeoutMSByModel(model: string) {
|
||||
model = model.toLowerCase();
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user