mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 减少必应接受的context长度不然爆炸
This commit is contained in:
parent
74626e6676
commit
b1e3fb7892
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ export class EditCardTool extends AbstractTool {
|
|||
qq = isNaN(qq) || !qq ? e.sender.user_id : parseInt(qq.trim())
|
||||
groupId = isNaN(groupId) || !groupId ? e.group_id : parseInt(groupId.trim())
|
||||
|
||||
let group = await e.bot.pickGroup(groupId)
|
||||
let group = await e.bot.(groupId)
|
||||
try {
|
||||
let mm = await group.getMemberMap()
|
||||
if (!mm.has(qq)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue