🔧 chore(deep-agent): disable shell feature by default

Set enable_shell=False to disable shell command execution capabilities
in the deep agent for security reasons.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
朱潮 2025-12-31 16:59:33 +08:00
parent fbbf0c0653
commit 49a0447f9f

View File

@ -154,6 +154,7 @@ async def init_agent(config: AgentConfig):
assistant_id=config.bot_id,
tools=mcp_tools,
auto_approve=True,
enable_shell=False,
)
else:
# 构建中间件列表