From 90cf7c6f1f97670a8636a83bb75cdfb1e7302497 Mon Sep 17 00:00:00 2001 From: tbxark Date: Fri, 10 May 2024 15:48:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20/redo=E5=91=BD=E4=BB=A4=E7=BC=BA?= =?UTF-8?q?=E5=B0=91=E5=A4=84=E7=90=86subcommand=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/buildinfo.json | 2 +- dist/index.js | 7 +++++-- dist/timestamp | 2 +- src/command.js | 3 +++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dist/buildinfo.json b/dist/buildinfo.json index 7b78a57e..db7b6ee2 100644 --- a/dist/buildinfo.json +++ b/dist/buildinfo.json @@ -1 +1 @@ -{"sha": "d027b36", "timestamp": 1715326817} +{"sha": "8d6f441", "timestamp": 1715327121} diff --git a/dist/index.js b/dist/index.js index 6791098f..1131471f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3,9 +3,9 @@ var Environment = class { // -- 版本数据 -- // // 当前版本 - BUILD_TIMESTAMP = 1715326817; + BUILD_TIMESTAMP = 1715327121; // 当前版本 commit id - BUILD_VERSION = "d027b36"; + BUILD_VERSION = "8d6f441"; // -- 基础配置 -- /** * @type {I18n | null} @@ -1983,6 +1983,9 @@ async function commandRegenerate(message, command, subcommand, context) { break; } } + if (subcommand) { + nextText = subcommand; + } return { history: { real, original }, text: nextText }; }; return chatWithLLM(null, context, mf); diff --git a/dist/timestamp b/dist/timestamp index 151cdb82..b9e6fd25 100644 --- a/dist/timestamp +++ b/dist/timestamp @@ -1 +1 @@ -1715326817 +1715327121 diff --git a/src/command.js b/src/command.js index c840fd56..7f0653bc 100644 --- a/src/command.js +++ b/src/command.js @@ -517,6 +517,9 @@ async function commandRegenerate(message, command, subcommand, context) { break; } } + if (subcommand) { + nextText = subcommand; + } return {history: {real, original}, text: nextText}; }; return chatWithLLM(null, context, mf);