From 64b39e38399030b9f8d088d9768e87c4740fd8d1 Mon Sep 17 00:00:00 2001 From: wuyang6 Date: Thu, 14 May 2026 15:33:59 +0800 Subject: [PATCH] Default service model to DeepSeek V4 Pro --- README.md | 2 +- scripts/deploy-ubuntu.sh | 2 +- scripts/start-backend.sh | 2 +- scripts/start-webui.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 14d0f89..79b5eac 100644 --- a/README.md +++ b/README.md @@ -553,7 +553,7 @@ bash scripts/start-webui.sh ```bash export OPENAI_API_KEY="..." export OPENAI_BASE_URL="http://model.mify.ai.srv/v1" -export OPENAI_MODEL="xiaomi/mimo-v2-flash" +export OPENAI_MODEL="tongyi/deepseek-v4-pro" ``` 停止本地 Web UI: diff --git a/scripts/deploy-ubuntu.sh b/scripts/deploy-ubuntu.sh index 3e875d2..284ba4f 100755 --- a/scripts/deploy-ubuntu.sh +++ b/scripts/deploy-ubuntu.sh @@ -212,7 +212,7 @@ ensure_env_file() { prompt_value api_key "请输入 OPENAI_API_KEY: " "" 1 [[ -n "${api_key}" ]] || fail "OPENAI_API_KEY 不能为空。" prompt_value base_url "请输入 OPENAI_BASE_URL" "http://model.mify.ai.srv/v1" - prompt_value model "请输入 OPENAI_MODEL" "xiaomi/mimo-v2-flash" + prompt_value model "请输入 OPENAI_MODEL" "tongyi/deepseek-v4-pro" configure_instance_names prompt_value backend_host "请输入后端监听地址" "127.0.0.1" prompt_value backend_port "请输入后端端口" "8765" diff --git a/scripts/start-backend.sh b/scripts/start-backend.sh index c8a4cc1..9222018 100755 --- a/scripts/start-backend.sh +++ b/scripts/start-backend.sh @@ -18,7 +18,7 @@ fi export OPENAI_API_KEY export OPENAI_BASE_URL="${OPENAI_BASE_URL:-http://model.mify.ai.srv/v1}" -export OPENAI_MODEL="${OPENAI_MODEL:-xiaomi/mimo-v2-flash}" +export OPENAI_MODEL="${OPENAI_MODEL:-tongyi/deepseek-v4-pro}" export OPENAI_TIMEOUT_SECONDS="${OPENAI_TIMEOUT_SECONDS:-3600}" # 后端也会调用 Node 生态工具,例如 feishu-mcp-pro。systemd 不读取交互式 diff --git a/scripts/start-webui.sh b/scripts/start-webui.sh index 5ca425e..cc9f9c2 100755 --- a/scripts/start-webui.sh +++ b/scripts/start-webui.sh @@ -140,7 +140,7 @@ if [[ -z "${OPENAI_API_KEY:-}" ]]; then fi export OPENAI_API_KEY="${OPENAI_API_KEY:-}" export OPENAI_BASE_URL="${OPENAI_BASE_URL:-http://model.mify.ai.srv/v1}" -export OPENAI_MODEL="${OPENAI_MODEL:-xiaomi/mimo-v2-flash}" +export OPENAI_MODEL="${OPENAI_MODEL:-tongyi/deepseek-v4-pro}" export OPENAI_TIMEOUT_SECONDS="${OPENAI_TIMEOUT_SECONDS:-3600}" BACKEND_LOG="${RUN_DIR}/webui-backend.log"