mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 兼容性修复
This commit is contained in:
parent
59ab8df658
commit
8b6fef00ec
1 changed files with 1 additions and 1 deletions
|
|
@ -827,7 +827,7 @@ export function getMaxModelTokens (model = 'gpt-3.5-turbo') {
|
|||
}
|
||||
|
||||
export function getUin (e) {
|
||||
if (e?.bot?.uin) return e.e.bot.uin
|
||||
if (e?.bot?.uin) return e.bot.uin
|
||||
if (Array.isArray(e.bot.uin)) {
|
||||
if (Config.trssBotUin && e.bot.uin.indexOf(Config.trssBotUin) > -1) return Config.trssBotUin
|
||||
else return e.bot.uin[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue