doomiaichat 7.1.21 → 7.1.24
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/dist/corzbot.js +1 -0
- package/package.json +1 -1
- package/src/corzbot.ts +1 -0
package/dist/corzbot.js
CHANGED
|
@@ -361,6 +361,7 @@ class CorzBot extends gptbase_1.default {
|
|
|
361
361
|
// 卡片流结束,解析卡片资源数据
|
|
362
362
|
if (result.thinking.completed) {
|
|
363
363
|
const allCards = cardResource.replace(/[\x00-\x1F\x7F]/g, '').split('|');
|
|
364
|
+
cardResource = '';
|
|
364
365
|
for (const item of allCards) {
|
|
365
366
|
const cardinfo = (0, querystring_1.parse)(item);
|
|
366
367
|
if (cardinfo.type && cardinfo.tag) {
|
package/package.json
CHANGED
package/src/corzbot.ts
CHANGED
|
@@ -330,6 +330,7 @@ export default class CorzBot extends GptBase {
|
|
|
330
330
|
// 卡片流结束,解析卡片资源数据
|
|
331
331
|
if (result.thinking.completed) {
|
|
332
332
|
const allCards = cardResource.replace(/[\x00-\x1F\x7F]/g, '').split('|')
|
|
333
|
+
cardResource='';
|
|
333
334
|
for (const item of allCards) {
|
|
334
335
|
const cardinfo: any = parse(item);
|
|
335
336
|
if (cardinfo.type && cardinfo.tag) {
|