feat: 更新版本至 0.0.99,移除未使用的 callText 函数调用

This commit is contained in:
2026-01-31 20:48:36 +08:00
parent 73d0c8c4ba
commit 1d0db5f093
2 changed files with 1 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
import { QwenAsrRelatime } from "@kevisual/video-tools/src/asr/index.ts";
import { Listener, WebSocketListenerFun, WebSocketReq } from "@kevisual/router";
import { callText } from "@/routes/ha-api/ha.ts";
import { assistantConfig } from "@/app.ts";
const func: WebSocketListenerFun = async (req: WebSocketReq<{ asr: QwenAsrRelatime, msgId: string, startTime?: number, loading?: boolean }>, res) => {
@@ -60,8 +59,6 @@ const func: WebSocketListenerFun = async (req: WebSocketReq<{ asr: QwenAsrRelati
time: Date.now(),
text,
}));
if (!text) return;
await callText(text);
console.log('toogle light time', Date.now() - endTime);
});
asr.start();

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/cli",
"version": "0.0.98",
"version": "0.0.99",
"description": "envision 命令行工具",
"type": "module",
"basename": "/root/cli",