@shun-js/aibaiban-server 1.3.9 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shun-js/aibaiban-server",
3
- "version": "1.3.9",
3
+ "version": "1.4.0",
4
4
  "description": "aibaiban.com server",
5
5
  "keywords": [
6
6
  "ai aibaiban"
@@ -45,5 +45,5 @@
45
45
  "access": "public",
46
46
  "registry": "https://registry.npmjs.org/"
47
47
  },
48
- "gitHead": "7288be3407eb8a311adbe7e6026ce0ed80ec4b83"
48
+ "gitHead": "c5efdb11f9e3d5fb520d76ec8e752eb6474effaf"
49
49
  }
@@ -349,7 +349,7 @@ exports.drawAgent = async (req, res) => {
349
349
  res.streaming(`data: ${JSON.stringify({ type: 'message', content: '图片生成失败,请稍后重试。' })}\n\n`);
350
350
  } else {
351
351
  const result = await liblib.waitForResult(generateUuid);
352
- const imageUrl = result.imagesInfo?.[0]?.imageUrl;
352
+ const imageUrl = result.images?.[0]?.imageUrl;
353
353
 
354
354
  if (imageUrl) {
355
355
  // 下载图片转 base64