From a5c607cb62f77919ac1bcaf8f12511e11a399d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=AB=E9=81=97=E5=BF=98=E7=9A=84=E8=AE=B0=E5=BF=86?= <32097237+YIWANG-sketch@users.noreply.github.com> Date: Mon, 1 Jul 2024 00:41:47 +0800 Subject: [PATCH] Update start.bat --- start.bat | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/start.bat b/start.bat index 206991d..461a5af 100644 --- a/start.bat +++ b/start.bat @@ -1,7 +1,32 @@ +@echo off + +REM 安装依赖包 call npm install + +REM 设置是否启用隧道访问 +set ENABLE_TUNNEL=false + +REM 设置子域名(留空则为随机域名) +set SUBDOMAIN= + +REM 设置 https_proxy 代理,可以使用本地的socks5或http(s)代理 +REM 比如,如要使用 Clash 的默认本地代理,则应设置为 set https_proxy=http://127.0.0.1:7890 +set https_proxy= + +REM 设置 PASSWORD API密码 set PASSWORD= + +REM 设置 PORT 端口 set PORT=8080 + +REM 设置AI模型(Claude系列模型直接在酒馆中选择即可使用,修改`AI_MODEL`环境变量可以切换Claude以外的模型,支持的模型名字如下 (请参考官网获取最新模型)) set AI_MODEL= + +REM 自定义会话模式 set USE_CUSTOM_MODE=false + +REM 运行 Node.js 应用程序 node index.mjs -pause \ No newline at end of file + +REM 暂停脚本执行,等待用户按任意键退出 +pause