support bytedance api start with "bot-" (with internet ability)

This commit is contained in:
suruiqiang
2025-02-14 16:14:41 +08:00
parent c15dbf5296
commit e2429d444b
4 changed files with 16 additions and 4 deletions

View File

@@ -304,7 +304,9 @@ export function getTimeoutMSByModel(model: string) {
model.startsWith("o1") ||
model.startsWith("o3") ||
model.includes("deepseek-r") ||
model.includes("-thinking")
model.includes("-thinking") ||
model.startsWith("ep-") ||
model.startsWith("bot-")
)
return REQUEST_TIMEOUT_MS_FOR_THINKING;
return REQUEST_TIMEOUT_MS;