From 02a9769b359ae112c2d13687ee16652f947eac25 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Thu, 14 Aug 2025 23:51:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E8=BD=AE=E6=95=B0=E4=B8=8A=E9=99=90=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/config/default.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index b662d386e..e6823af5e 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -65,6 +65,7 @@ DEFAULT_CONFIG = { "show_tool_use_status": False, "streaming_segmented": False, "separate_provider": True, + "max_agent_step": 30 }, "provider_stt_settings": { "enable": False, @@ -1729,6 +1730,10 @@ CONFIG_METADATA_2 = { "type": "bool", "hint": "启用后,若平台不支持流式回复,会分段输出。目前仅支持 aiocqhttp 两个平台,不支持或无需使用流式分段输出的平台会静默忽略此选项", }, + "max_agent_step": { + "description": "工具调用轮数上限", + "type": "int", + }, }, }, "persona": {