docs(tutorials): run Pi with OpenRouter - #3722
Merged
Merged
Conversation
Switch the Pi tutorial from Anthropic to OpenRouter, add fd to the Pi image so Pi does not try to download it from GitHub inside the sandbox, and rename the page to Run Pi with OpenRouter with a dev redirect from the old URL. Signed-off-by: Johnny Greco <jogreco@nvidia.com>
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
johnnygreco
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
September 25, 2026 20:51
|
🌿 Preview your docs: https://nvidia-preview-pr-3722.docs.buildwithfern.com/openshell |
Add prerequisites and steps, explain providers and the profile fields in plain terms, inspect the sandbox while Pi is still running, and add clean-up and troubleshooting sections. Signed-off-by: Johnny Greco <jogreco@nvidia.com>
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
Collaborator
Author
|
/ok to test 573728e |
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
drew
approved these changes
Sep 25, 2026
drew
enabled auto-merge
September 25, 2026 22:16
Collaborator
|
/ok to test ff13442 |
drew
disabled auto-merge
September 25, 2026 22:39
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 26, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switch the Pi tutorial from Anthropic to OpenRouter and rename it to "Run Pi with OpenRouter". The Pi image now also installs
fd: Pi downloads it from GitHub on first use when it's missing, and the sandbox blocks that download.Related Issue
No issue required: documentation-only update to an existing tutorial.
Changes
docs/tutorials/run-pi.mdxtodocs/tutorials/run-pi-with-openrouter.mdx. The nav entry sets a relativeslugso the URL matches the file path; from the label alone, Fern would producerun-pi-with-open-router. The page only exists ondev(added in docs: refresh architecture and agent guides #3705), so there's no redirect.pi-anthropicprofile with anopenrouterprofile (provider-openrouter.yaml). It sendsOPENROUTER_API_KEYas a bearer token toopenrouter.aiand allows/usr/local/bin/node, the runtime that runs Pi.openshell profileinstead of theopenshell provider profilealias, matching the other tutorials.fd-find, symlinked asfd, to the Dockerfile, with a note on why it's needed./modelcommand, including:freemodels for testing without spending credits.nodepath instead ofcommand -v piandnpm root -g.about/run-an-agent.mdx.#3713 also renames
about/run-an-agent.mdxand edits the Tutorials nav, so whichever PR merges second needs a small rebase.Testing
mise run pre-commitpassesAlso verified:
noderesolves to/usr/local/bin/node,piis a Node.js script,fdandrgrun, and Pi 0.87.1 installs.fdandrgfrom GitHub, reportsfd is not available and could not be downloadedwhen the download fails, and lists OpenRouter:freemodels in its bundled catalog.mise run docs(fern check) passes with 0 errors. Its 3 warnings also appear onmain.docs:navcheck from docs: keep page URLs aligned with file paths #3713 reports no problems for this page.Not run: an end-to-end sandbox on a live gateway with an OpenRouter key.
openshell profile lintneeds a gateway, so the profile wasn't linted here. It has the same structure asproviders/openai.yamlandproviders/deepinfra.yaml.Checklist