mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: 修复gemini禁言和提出对非管理员不生效的问题
This commit is contained in:
parent
fcca28de37
commit
08afc95f06
2 changed files with 2 additions and 2 deletions
|
|
@ -312,7 +312,7 @@ export class CustomGoogleGeminiClient extends GoogleGeminiClient {
|
|||
let args = Object.assign(fc.args, {
|
||||
isAdmin,
|
||||
isOwner,
|
||||
sender: this.e.sender,
|
||||
sender: this.e.sender.user_id,
|
||||
mode: 'gemini'
|
||||
})
|
||||
functionResponse.response.content = await chosenTool.func(args, this.e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue