禁止路径穿越
This commit is contained in:
parent
788bb0089f
commit
7d22f0b34d
@ -405,7 +405,7 @@ def create_custom_cli_agent(
|
|||||||
# Use LocalShellBackend for filesystem + shell execution
|
# Use LocalShellBackend for filesystem + shell execution
|
||||||
backend = LocalShellBackend(
|
backend = LocalShellBackend(
|
||||||
root_dir=workspace_root,
|
root_dir=workspace_root,
|
||||||
virtual_mode=False,
|
virtual_mode=True,
|
||||||
inherit_env=True,
|
inherit_env=True,
|
||||||
env=final_shell_env,
|
env=final_shell_env,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user