mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: bot一直骂我
This commit is contained in:
parent
df715e22a2
commit
f6e054b7ef
1 changed files with 6 additions and 5 deletions
|
|
@ -172,11 +172,12 @@ export class CustomGoogleGeminiClient extends GoogleGeminiClient {
|
|||
// codeExecution: {}
|
||||
}
|
||||
]
|
||||
body.tool_config = {
|
||||
function_calling_config: {
|
||||
mode: 'ANY'
|
||||
}
|
||||
}
|
||||
// 笑死人的效果
|
||||
// body.tool_config = {
|
||||
// function_calling_config: {
|
||||
// mode: 'ANY'
|
||||
// }
|
||||
// }
|
||||
}
|
||||
if (opt.image) {
|
||||
delete body.tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue