mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
feat: reduce default max_agent_step to 3 and refactor shell execution
- Lower default max_agent_step from 30 to 3 across all agent runners (coze, dashscope, deerflow, dify) for faster responses - Refactor ExecuteShellTool to use plumbum with session-based isolation, maintaining shell state per session (cwd, env vars, etc.) - Remove unused API-specific environment variables from cmd_run - Fix data access bug in shipyard_neo._maybe_model_dump - Add plumbum>=1.10.0 dependency
This commit is contained in:
@@ -73,7 +73,7 @@ AstrBot 默认配置如下:
|
||||
"streaming_response": False,
|
||||
"show_tool_use_status": False,
|
||||
"streaming_segmented": False,
|
||||
"max_agent_step": 30,
|
||||
"max_agent_step": 3,
|
||||
"tool_call_timeout": 120,
|
||||
},
|
||||
"provider_stt_settings": {
|
||||
|
||||
Reference in New Issue
Block a user