diff --git a/container/entrypoint.py b/container/entrypoint.py index da205b6..24d175c 100644 --- a/container/entrypoint.py +++ b/container/entrypoint.py @@ -169,8 +169,8 @@ Instructions: def run_opencode(prompt: str) -> int: """Run opencode non-interactively with the given prompt.""" - cmd = ["opencode", "run", prompt] - log.info("Running: %s", " ".join(cmd)) + cmd = ["opencode", "run", "--print-logs", prompt] + log.info("Running: opencode run --print-logs ") result = subprocess.run(cmd, check=False) return result.returncode