mirror of
https://github.com/LLM-Red-Team/qwen-free-api.git
synced 2024-12-23 01:49:20 +08:00
调整重试次数
This commit is contained in:
parent
7124650c1f
commit
05d106f956
@ -14,7 +14,7 @@ import util from "@/lib/util.ts";
|
|||||||
// 模型名称
|
// 模型名称
|
||||||
const MODEL_NAME = "qwen";
|
const MODEL_NAME = "qwen";
|
||||||
// 最大重试次数
|
// 最大重试次数
|
||||||
const MAX_RETRY_COUNT = 0;
|
const MAX_RETRY_COUNT = 3;
|
||||||
// 重试延迟
|
// 重试延迟
|
||||||
const RETRY_DELAY = 5000;
|
const RETRY_DELAY = 5000;
|
||||||
// 伪装headers
|
// 伪装headers
|
||||||
|
Loading…
Reference in New Issue
Block a user