Where to check:
In templates/.env.example, make sure there’s a line for PERPLEXITY_API_KEY=
In templates/devcontainer.json.in, verify there’s a line:
"remoteEnv": {
"PERPLEXITY_API_KEY": "${localEnv:PERPLEXITY_API_KEY}"
}
This ensures the key is injected from your local environment into the devcontainer runtime.
How to validate:
After generating a project, check .env and .devcontainer/devcontainer.json for the correct key.
Optionally, update documentation to clearly instruct users to set PERPLEXITY_API_KEY in their .env or shell profile before starting the devcontainer.
Where to check:
In templates/.env.example, make sure there’s a line for PERPLEXITY_API_KEY=
In templates/devcontainer.json.in, verify there’s a line:
This ensures the key is injected from your local environment into the devcontainer runtime.
How to validate:
After generating a project, check .env and .devcontainer/devcontainer.json for the correct key.
Optionally, update documentation to clearly instruct users to set PERPLEXITY_API_KEY in their .env or shell profile before starting the devcontainer.