feat: 更新依赖项版本,添加新功能并重构代码,增强 ASR 服务和灯光控制逻辑
This commit is contained in:
@@ -9,6 +9,7 @@ import path from 'node:path'
|
||||
import chalk from 'chalk';
|
||||
import { AssistantApp } from './lib.ts';
|
||||
import { getBunPath } from './module/get-bun-path.ts';
|
||||
import { qwenAsr } from './services/asr/qwen-asr.ts';
|
||||
export const runServer = async (port: number = 51015, listenPath = '127.0.0.1') => {
|
||||
let _port: number | undefined;
|
||||
if (port) {
|
||||
@@ -42,7 +43,8 @@ export const runServer = async (port: number = 51015, listenPath = '127.0.0.1')
|
||||
id: 'handle-all',
|
||||
func: proxyRoute as any,
|
||||
},
|
||||
...proxyWs()
|
||||
...proxyWs(),
|
||||
qwenAsr,
|
||||
]);
|
||||
const manager = new AssistantApp(assistantConfig, app);
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user