fix: 补充工具调用轮数上限配置

This commit is contained in:
Soulter
2025-08-14 23:51:22 +08:00
parent 7640f11bfc
commit 02a9769b35
+5
View File
@@ -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": {