mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +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: {}
|
// codeExecution: {}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
body.tool_config = {
|
// 笑死人的效果
|
||||||
function_calling_config: {
|
// body.tool_config = {
|
||||||
mode: 'ANY'
|
// function_calling_config: {
|
||||||
}
|
// mode: 'ANY'
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
if (opt.image) {
|
if (opt.image) {
|
||||||
delete body.tools
|
delete body.tools
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue