mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 窒息
This commit is contained in:
parent
b9ca5ce4e2
commit
823301e5c6
1 changed files with 1 additions and 1 deletions
|
|
@ -848,8 +848,8 @@ export function getMaxModelTokens (model = 'gpt-3.5-turbo') {
|
|||
}
|
||||
|
||||
export function getUin (e) {
|
||||
if (e?.bot?.uin) return e.bot.uin
|
||||
if (e?.self_id) return e.self_id
|
||||
if (e?.bot?.uin) return e.bot.uin
|
||||
if (Array.isArray(Bot.uin)) {
|
||||
if (Config.trssBotUin && Bot.uin.indexOf(Config.trssBotUin) > -1) { return Config.trssBotUin } else {
|
||||
Bot.uin.forEach((u) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue