From 81c88257c87c54634ca40f82b00d36070b40aa8a Mon Sep 17 00:00:00 2001 From: oudecheng <13802883547@139.com> Date: Wed, 1 Jul 2026 15:11:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E8=B0=83=E6=95=B4=E6=B8=A9=E5=BA=A6?= =?UTF-8?q?=E5=92=8C=E4=B8=8A=E4=B8=8B=E6=96=87=E7=AA=97=E5=8F=A3=E4=BB=A4?= =?UTF-8?q?=E7=89=8C=E6=95=B0=E9=87=8F=EF=BC=9B=E6=B7=BB=E5=8A=A0=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E5=92=8C=E5=81=9C=E6=AD=A2=E7=BD=91=E5=85=B3=E7=9A=84?= =?UTF-8?q?=E6=89=B9=E5=A4=84=E7=90=86=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/restart-gateway.bat | 9 +++++++++ package/stop-gateway.bat | 3 +++ src/config/mod.rs | 5 +++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 package/restart-gateway.bat create mode 100644 package/stop-gateway.bat diff --git a/package/restart-gateway.bat b/package/restart-gateway.bat new file mode 100644 index 0000000..fba7598 --- /dev/null +++ b/package/restart-gateway.bat @@ -0,0 +1,9 @@ +@echo off +echo === Stop PicoBot Gateway === +powershell -ExecutionPolicy Bypass -File "%~dp0start-gateway.ps1" -Action stop + +echo. +echo === Start PicoBot Gateway === +powershell -ExecutionPolicy Bypass -File "%~dp0start-gateway.ps1" -Action start + +pause diff --git a/package/stop-gateway.bat b/package/stop-gateway.bat new file mode 100644 index 0000000..1c9a2af --- /dev/null +++ b/package/stop-gateway.bat @@ -0,0 +1,3 @@ +@echo off +powershell -ExecutionPolicy Bypass -File "%~dp0start-gateway.ps1" -Action stop +pause diff --git a/src/config/mod.rs b/src/config/mod.rs index bec072f..23ecc1a 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -935,8 +935,9 @@ impl Config { "models": { "default": { "model_id": "deepseek-v4-flash", - "temperature": 0.7, - "context_window_tokens": 128000 + "temperature": 0.3, + "max_tokens": 20000, + "context_window_tokens": 1000000 } }, "agents": {