feat: auto translate image creating prompt

This commit is contained in:
RockYang
2023-12-19 18:54:19 +08:00
parent 3d37087916
commit bf19120c27
11 changed files with 446 additions and 99 deletions

View File

@@ -105,7 +105,7 @@ func (f FuncImage) Invoke(params map[string]interface{}) (string, error) {
return "", fmt.Errorf("下载图片失败: %s", err.Error())
}
logger.Info(imgURL)
//logger.Info(imgURL)
return fmt.Sprintf("\n\n![](%s)\n", imgURL), nil
}