feat(ai): restClient和webClient提供给其他类使用

This commit is contained in:
2025-06-14 17:45:56 +08:00
parent f11f5e7656
commit d4d5aede31
3 changed files with 31 additions and 31 deletions

View File

@@ -0,0 +1,12 @@
import {cd, path} from 'zx'
import {trim} from "licia";
import {run_deploy} from '../../bin/library.js'
// 切换目录
cd(trim(path.dirname(import.meta.dirname)))
// 执行流程
try {
await run_deploy('service-ai-core')
} catch (e) {
console.error(e)
}