mirror of
https://github.com/LLM-Red-Team/glm-free-api.git
synced 2025-05-03 17:58:48 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ad10146152 | ||
|
61e6596352 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "glm-free-api",
|
||||
"version": "0.0.36",
|
||||
"version": "0.0.37",
|
||||
"description": "GLM Free API Server",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
@ -16,14 +16,12 @@ import util from "@/lib/util.ts";
|
||||
const MODEL_NAME = "glm";
|
||||
// 默认的智能体ID,GLM4
|
||||
const DEFAULT_ASSISTANT_ID = "65940acff94777010aa6b796";
|
||||
// zero推理模型智能体ID
|
||||
const ZERO_ASSISTANT_ID = "676411c38945bbc58a905d31";
|
||||
// 签名密钥(官网变化记得更新)
|
||||
const SIGN_SECRET = "8a1317a7468aa3ad86e997d08f3f31cb";
|
||||
// access_token有效期
|
||||
const ACCESS_TOKEN_EXPIRES = 3600;
|
||||
// 最大重试次数
|
||||
const MAX_RETRY_COUNT = 0;
|
||||
const MAX_RETRY_COUNT = 3;
|
||||
// 重试延迟
|
||||
const RETRY_DELAY = 5000;
|
||||
// 伪装headers
|
||||
|
Loading…
x
Reference in New Issue
Block a user