mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-18 14:27:10 +00:00
Merge pull request #14 from ikechan8370/v2
fix: 纯图片触发的伪人对话 跳过查找工具关键词 (#771)
This commit is contained in:
commit
e1aca91e7e
1 changed files with 1 additions and 1 deletions
|
|
@ -591,7 +591,7 @@ class Core {
|
||||||
await e.reply(msg, true)
|
await e.reply(msg, true)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
option.toolMode = (opt.settings.forceTool || Config.geminiForceToolKeywords?.find(k => prompt.includes(k))) ? 'ANY' : 'AUTO'
|
option.toolMode = (opt.settings.forceTool || Config.geminiForceToolKeywords?.find(k => prompt?.includes(k))) ? 'ANY' : 'AUTO'
|
||||||
return await client.sendMessage(prompt, option)
|
return await client.sendMessage(prompt, option)
|
||||||
} else if (use === 'chatglm4') {
|
} else if (use === 'chatglm4') {
|
||||||
const client = new ChatGLM4Client({
|
const client = new ChatGLM4Client({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue