Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

随机轮询模式登录无法制启用临时聊天 #9

Open
Unreal-Null opened this issue Aug 5, 2024 · 1 comment
Open

随机轮询模式登录无法制启用临时聊天 #9

Unreal-Null opened this issue Aug 5, 2024 · 1 comment

Comments

@Unreal-Null
Copy link

SetAN //选车模式。如只有一辆车则填1。如多辆车用户手动选则留空。如需开启随机或顺序轮询,填True,并用下面两个变量控制
FreeMode //普号随机的轮询方式,Order/Random或Plus(使用plus号池和配置)

TemporaryAN //强制启用临时聊天的车牌,以1,2,3格式

开启随机选车后,TemporaryAN失效了。

@Unreal-Null
Copy link
Author

const isTemporary = await usermatch(accountNumber, "TemporaryAN") && !isAdmin;
const passwd = await generatePassword(userName2);
const body = new URLSearchParams({
  access_token: accessToken,
  // 使用从全局变量中获取的 accessToken
  unique_name: passwd,
  //前缀+无后缀用户名
  site_limit: "",
  // 限制的网站
  expires_in: isVIP ? "0" : "0",
  // token有效期(单位为秒),填 0 则永久有效
  gpt35_limit: "-1",
  // gpt3.5 对话限制
  gpt4_limit: isFreeUsers ? "30" : "-1",
  // gpt4 对话限制,-1为不限制
  show_conversations: isAdmin ? "true" : "false",
  // 是否显示所有人的会话
  **temporary_chat: isTemporary ? "true" : "### true",**  手动这里改成true了可以了。
  //默认启用临时聊天
  show_userinfo: isAdmin ? "true" : "false",
  // 是否显示用户信息
  reset_limit: "false"
  // 是否重置对话限制

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant