docs: clarify secrets vs inputs syntax usage #8166
Merged
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
This PR addresses confusion around when to use
secrets.
vsinputs.
syntax in Continue configuration blocks.Changes
Added informational blocks to two key documentation pages:
docs/guides/configuring-models-rules-tools.mdx - Added an info block in the "Working with Secrets" section explaining:
secrets.
is recommended for most use cases (both personal and organizational)inputs.
should be used when flexibility is needed (reusable blocks, customizable secret names)docs/hub/blocks/create-a-block.mdx - Added an info block in the "Block Inputs" section clarifying:
inputs.
to allow customizationsecrets.
directlyContext
Based on Slack discussion: https://continuedev.slack.com/archives/C060AV775UZ/p1759954189314559?thread_ts=1759954189.314559&cid=C060AV775UZ
Related Linear issue: CON-3803
Testing
This agent session was co-authored by tingwai and Continue.
Summary by cubic
Clarifies when to use secrets vs inputs in Continue configuration, recommending secrets for most workflows and inputs for reusable, customizable blocks. Adds info blocks to the configuring models/tools guide and the hub block creation page; addresses Linear CON-3803.