Repository navigation
docs(examples): add env-refs example for PARAM and preset env references - #287
Merged
Merged
Conversation
A dry-run-only walkthrough of $FOO, ${FOO} and ${FOO:-default}
resolution, with the Spinloop and preset carrying references and the
README's commands and output verified against the built binary. Linked
from the README guides list and the Spinloop-file doc.
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.
Adds
examples/env-refs/, a runnable walkthrough of$FOO,${FOO}and${FOO:-default}references inPARAMlines and preset values, so the feature merged in #285 has an example of its own next toremote-spinloop.Summary
Spinloopandpreset.inicarry references with sensible defaults, so the dry run works on any machine with nothing exported.QUANT/PORT/NGLset, when references resolve (consumption, not reading;serve's shell vs theENV/.envthe deploy paths apply first), and the exact errors a malformed reference produces — every quoted output verified against the built binary.PARAMsection.Implementation details
No Go changes; the example deliberately pairs with the qwen3.8-27b walkthrough it borrows its model from, and every command is a
--dry-run, so CI and readers need neither a GPU norllama-server.