mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
feat: support search for gemini2: #chatgpt开启gemini搜索 #chatgpt开启代码执行 暂时不可并存
This commit is contained in:
parent
8fc2ca5621
commit
5f6c4e5abb
5 changed files with 118 additions and 13 deletions
|
|
@ -734,7 +734,9 @@ class Core {
|
|||
}
|
||||
},
|
||||
parentMessageId: conversation.parentMessageId,
|
||||
conversationId: conversation.conversationId
|
||||
conversationId: conversation.conversationId,
|
||||
search: Config.geminiEnableGoogleSearch,
|
||||
codeExecution: Config.geminiEnableCodeExecution
|
||||
}
|
||||
const image = await getImg(e)
|
||||
let imageUrl = image ? image[0] : undefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue