🔧 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:
parent
fbbf0c0653
commit
49a0447f9f
@ -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:
|
||||
# 构建中间件列表
|
||||
|
||||
Loading…
Reference in New Issue
Block a user