kin: KIN-FIX-023-backend_dev

This commit is contained in:
Gros Frumos 2026-03-18 00:52:44 +02:00
parent 03e2915ad6
commit 0cc0566462

View file

@ -260,7 +260,7 @@ def _run_claude(
"--model", model, "--model", model,
] ]
is_noninteractive = noninteractive or os.environ.get("KIN_NONINTERACTIVE") == "1" is_noninteractive = noninteractive or os.environ.get("KIN_NONINTERACTIVE") == "1"
if allow_write or noninteractive: if allow_write or is_noninteractive:
cmd.append("--dangerously-skip-permissions") cmd.append("--dangerously-skip-permissions")
if timeout is None: if timeout is None:
env_timeout = os.environ.get("KIN_AGENT_TIMEOUT") env_timeout = os.environ.get("KIN_AGENT_TIMEOUT")