Skip to content

Check Perplexity Key Is Set Correctly in DevContainer #3

@niabhail

Description

@niabhail

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions