From 99f7917d12d3bd040fa919bb4f56abcbcb979e53 Mon Sep 17 00:00:00 2001 From: Spencer Elkington Date: Sat, 10 May 2025 01:02:07 -0600 Subject: [PATCH] docs: clarify local .env secret pull process for local assistants --- docs/docs/reference.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/docs/reference.md b/docs/docs/reference.md index 647608fa5..0f4d6dcbd 100644 --- a/docs/docs/reference.md +++ b/docs/docs/reference.md @@ -85,6 +85,12 @@ Blocks: You can find many examples of each of these block types on the [Continue Explore Page](https://hub.continue.dev/explore/models) +:::info +Local blocks utilizing mustache notation for secrets (`${{ secrets.SECRET_NAME }}`) can read secret values: +- globally, from a `.env` located in the global `.continue` folder (`~/.continue/.env`) +- per-workspace, from a `.env` file located at the root of the current workspace. +::: + ### Inputs Blocks can be passed user inputs, including hub secrets and raw text values. To create a block that has an input, use @@ -111,7 +117,7 @@ models: TEMP: 0.9 ``` -Note that hub secrets can be passed as inputs, using the a similar mustache format: `secrets.SECRET_NAME`. +Note that hub secrets can be passed as inputs, using a similar mustache format: `secrets.SECRET_NAME`. ### Overrides