mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
feat: add #识图
This commit is contained in:
parent
a4d07b9d46
commit
4eaf218d66
2 changed files with 36 additions and 0 deletions
|
|
@ -157,6 +157,9 @@ export class CustomGoogleGeminiClient extends GoogleGeminiClient {
|
|||
}
|
||||
]
|
||||
}
|
||||
if (opt.image) {
|
||||
delete body.tools
|
||||
}
|
||||
body.contents.forEach(content => {
|
||||
delete content.id
|
||||
delete content.parentMessageId
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue