mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: 修改一些提示。tool太多机器人开始混乱了
This commit is contained in:
parent
34bba041e5
commit
06371b1668
1 changed files with 1 additions and 3 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
import { AbstractTool } from './AbstractTool.js'
|
import { AbstractTool } from './AbstractTool.js'
|
||||||
import fetch, { File, FormData } from 'node-fetch'
|
import fetch, { File, FormData } from 'node-fetch'
|
||||||
import { Config } from '../config.js'
|
import { Config } from '../config.js'
|
||||||
import fs from 'fs'
|
|
||||||
import crypto from 'crypto'
|
|
||||||
export class ImageCaptionTool extends AbstractTool {
|
export class ImageCaptionTool extends AbstractTool {
|
||||||
name = 'imageCaption'
|
name = 'imageCaption'
|
||||||
|
|
||||||
|
|
@ -20,7 +18,7 @@ export class ImageCaptionTool extends AbstractTool {
|
||||||
required: []
|
required: []
|
||||||
}
|
}
|
||||||
|
|
||||||
description = 'useful when you want to know what is inside a picture, such as user\'s avatar'
|
description = 'useful when you want to know what is inside a photo, such as user\'s avatar or other pictures'
|
||||||
|
|
||||||
func = async function (opts) {
|
func = async function (opts) {
|
||||||
let { imgUrl, qq } = opts
|
let { imgUrl, qq } = opts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue