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:
LIghtJUNction
2026-03-21 23:47:43 +08:00
parent 43e107068a
commit f9243a73d5
13 changed files with 128 additions and 42 deletions

View File

@@ -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": {