mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: image caption qq error
This commit is contained in:
parent
c6ce17ff98
commit
8acb3f48e7
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ export class ImageCaptionTool extends AbstractTool {
|
|||
|
||||
func = async function (opts) {
|
||||
let { imgUrl, qq, question } = opts
|
||||
if (qq) {
|
||||
if (!imgUrl && qq) {
|
||||
imgUrl = `https://q1.qlogo.cn/g?b=qq&s=160&nk=${qq}`
|
||||
}
|
||||
if (!imgUrl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue