From 6df425398f2b15fa7dce24670844e8f8805cd148 Mon Sep 17 00:00:00 2001 From: Fede Kamelhar <209537060+fede-kamel@users.noreply.github.com> Date: Tue, 20 Oct 2026 21:55:09 +0000 Subject: [PATCH] docs(providers): close stdin in the openrouter smoke test (#3907) * docs(providers): close stdin in the openrouter smoke test The sandbox main process keeps stdin open so attach and detach work, and opencode run reads stdin until EOF, so the documented smoke test never printed a result. Run it through sh -c with stdin redirected from /dev/null and note why. Closes #3883 Signed-off-by: fede-kamel * Remove verbose comment in providers/openrouter.yaml --------- Signed-off-by: fede-kamel Co-authored-by: Taylor Mutch --- providers/openrouter.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/openrouter.yaml b/providers/openrouter.yaml index 9e357b82c..ce0717317 100644 --- a/providers/openrouter.yaml +++ b/providers/openrouter.yaml @@ -17,8 +17,8 @@ # openrouter.ai and nowhere else. # Endpoint access: openrouter.ai, read-write, L7 enforced. # Smoke test: openshell sandbox create --provider \ -# --from ghcr.io/anomalyco/opencode:latest -- \ -# opencode run -m openrouter/nvidia/nemotron-3.5-lightning:free 'reply with OK' +# --from ghcr.io/anomalyco/opencode:latest -- sh -c \ +# "opencode run -m openrouter/nvidia/nemotron-3.5-lightning:free 'reply with OK'