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 <fkamelhar@gmail.com>

* Remove verbose comment in providers/openrouter.yaml

---------

Signed-off-by: fede-kamel <fkamelhar@gmail.com>
Co-authored-by: Taylor Mutch <taylormutch@gmail.com>
This commit is contained in:
Fede Kamelhar
2026-10-20 21:55:09 +00:00
committed by GitHub
co-authored by Taylor Mutch
parent 915a5d1553
commit 6df425398f
+2 -2
View File
@@ -17,8 +17,8 @@
# openrouter.ai and nowhere else.
# Endpoint access: openrouter.ai, read-write, L7 enforced.
# Smoke test: openshell sandbox create --provider <name> \
# --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' </dev/null"
id: openrouter
display_name: OpenRouter