fix: 修复Gemini的图片和工具支持

This commit is contained in:
ikechan8370 2024-07-29 16:49:40 +08:00
parent 1fad082da6
commit e6af4083c2
5 changed files with 48 additions and 31 deletions

View file

@ -15,7 +15,7 @@ export class SendMessageToSpecificGroupOrUserTool extends AbstractTool {
description: 'target qq or group number'
}
},
required: ['msg', 'target']
required: ['msg', 'targetGroupIdOrQQNumber']
}
func = async function (opt, e) {

View file

@ -14,7 +14,7 @@ export class SendMusicTool extends AbstractTool {
description: 'Fill in the target user_id or groupId when you need to send music to specific group or user, otherwise leave blank'
}
},
required: ['keyword']
required: ['id']
}
func = async function (opts, e) {