diff --git a/examples/02_vars_and_anchors/README.md b/examples/02_vars_and_anchors/README.md index db29f81..13f2b55 100644 --- a/examples/02_vars_and_anchors/README.md +++ b/examples/02_vars_and_anchors/README.md @@ -63,26 +63,22 @@ strands-compose validation, so they're a safe place to park anchor definitions. ## Run -### Linux / macOS - ```bash +# Linux / macOS # Use built-in defaults uv run python examples/02_vars_and_anchors/main.py # Override tone or model at runtime TONE=formal uv run python examples/02_vars_and_anchors/main.py MODEL=us.anthropic.claude-sonnet-4-6-v1:0 uv run python examples/02_vars_and_anchors/main.py -``` - -### Windows -```cmd -REM Use built-in defaults -uv run python examples\02_vars_and_anchors\main.py +# Windows PowerShell +# Use built-in defaults +uv run python examples/02_vars_and_anchors/main.py -REM Override tone or model at runtime -set TONE=formal -uv run python examples\02_vars_and_anchors\main.py +# Override tone or model at runtime +$env:TONE="formal"; uv run python examples/02_vars_and_anchors/main.py +$env:MODEL="us.anthropic.claude-sonnet-4-6-v1:0"; uv run python examples/02_vars_and_anchors/main.py ``` ## Try these prompts diff --git a/examples/11_multi_file_config/README.md b/examples/11_multi_file_config/README.md index 75a9f7a..a13e6e3 100644 --- a/examples/11_multi_file_config/README.md +++ b/examples/11_multi_file_config/README.md @@ -15,8 +15,8 @@ load(["base.yaml", "agents.yaml"]) ↓ ↓ vars + models agents + entry - └─────────┬─────────┘ - merged config + └─────────┬─────────┘ + merged config ``` **Merging rules:** @@ -50,23 +50,18 @@ from `agents.yaml`. For shared blocks across files, use variables instead. ## Run -### Linux / macOS - ```bash +# Linux / macOS uv run python examples/11_multi_file_config/main.py # Override the model MODEL=us.anthropic.claude-sonnet-4-6-v1:0 uv run python examples/11_multi_file_config/main.py -``` - -### Windows -```cmd -uv run python examples\11_multi_file_config\main.py +# Windows PowerShell +uv run python examples/11_multi_file_config/main.py -REM Override the model -set MODEL=us.anthropic.claude-sonnet-4-6-v1:0 -uv run python examples\11_multi_file_config\main.py +# Override the model +$env:MODEL="us.anthropic.claude-sonnet-4-6-v1:0"; uv run python examples/11_multi_file_config/main.py ``` ## Try these prompts diff --git a/examples/TEMPLATE_EXAMPLE.md b/examples/TEMPLATE_EXAMPLE.md index e328438..34c5af4 100644 --- a/examples/TEMPLATE_EXAMPLE.md +++ b/examples/TEMPLATE_EXAMPLE.md @@ -42,17 +42,12 @@ uv run python examples/NN_name/main.py If there are environment variable overrides or platform differences, show them: -### Linux / macOS - ```bash +# Linux / macOS VAR=value uv run python examples/NN_name/main.py -``` - -### Windows -```cmd -set VAR=value -uv run python examples\NN_name\main.py +# Windows PowerShell +$env:VAR="value"; uv run python examples/NN_name/main.py ``` ## Try these prompts