mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 啊
This commit is contained in:
parent
19f9c804bb
commit
8c7e6489e7
2 changed files with 6 additions and 5 deletions
|
|
@ -1989,7 +1989,7 @@ export class chatgpt extends plugin {
|
|||
new WeatherTool(),
|
||||
new SendPictureTool(),
|
||||
new TTSTool(),
|
||||
new ProcessPictureTool(),
|
||||
|
||||
serpTool
|
||||
]
|
||||
let img = []
|
||||
|
|
@ -2015,6 +2015,7 @@ export class chatgpt extends plugin {
|
|||
}
|
||||
if (img.length > 0 && Config.extraUrl) {
|
||||
tools.push(new ImageCaptionTool())
|
||||
tools.push(new ProcessPictureTool())
|
||||
prompt += `\nthe url of the picture(s) above: ${img.join(', ')}`
|
||||
} else {
|
||||
tools.push(new SerpImageTool())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue