@shun-js/aibaiban-server 1.3.9 → 1.4.1
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 +2 -2
- package/server/service/LLMService.js +1 -1
- package/views/index.html +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shun-js/aibaiban-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
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": "
|
|
48
|
+
"gitHead": "31816288306545bca83a6378d28bcb10109b5365"
|
|
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.
|
|
352
|
+
const imageUrl = result.images?.[0]?.imageUrl;
|
|
353
353
|
|
|
354
354
|
if (imageUrl) {
|
|
355
355
|
// 下载图片转 base64
|
package/views/index.html
CHANGED
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
<script
|
|
106
106
|
type="module"
|
|
107
107
|
crossorigin
|
|
108
|
-
src="https://static-small.vincentqiao.com/aibaiban/static/index-
|
|
108
|
+
src="https://static-small.vincentqiao.com/aibaiban/static/index-CtuN3dTq.js"
|
|
109
109
|
></script>
|
|
110
110
|
<link
|
|
111
111
|
rel="modulepreload"
|