diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7cbab75..057faed 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -20,10 +20,22 @@ "version": "lts" } }, - "postCreateCommand": "sudo apt-get update && sudo apt-get install -y linux-perf pandoc texlive-latex-base texlive-latex-recommended texlive-latex-extra && pip install -r requirements.txt && sudo npm install -g @anthropic-ai/claude-code", + "postCreateCommand": "sudo apt-get update && sudo apt-get install -y linux-perf pandoc texlive-latex-base texlive-latex-recommended texlive-latex-extra && pip install -r requirements.txt && npm install -g @anthropic-ai/claude-code", // On a GPU host, replace the --index-url below with a CUDA-enabled PyTorch build, // e.g.: pip install torch --index-url https://download.pytorch.org/whl/cu121 //"postCreateCommand": "sudo apt-get update && sudo apt-get install -y linux-perf pandoc texlive-latex-base texlive-latex-recommended texlive-latex-extra && pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu && pip install -e tableau/", + "remoteEnv": { + "ANTHROPIC_AUTH_TOKEN": "${localEnv:ANTHROPIC_AUTH_TOKEN}", + "ANTHROPIC_BASE_URL": "${localEnv:ANTHROPIC_BASE_URL}", + "ANTHROPIC_DEFAULT_HAIKU_MODEL": "${localEnv:ANTHROPIC_DEFAULT_HAIKU_MODEL}", + "ANTHROPIC_DEFAULT_SONNET_MODEL": "${localEnv:ANTHROPIC_DEFAULT_SONNET_MODEL}", + "ANTHROPIC_DEFAULT_OPUS_MODEL": "${localEnv:ANTHROPIC_DEFAULT_OPUS_MODEL}", + "ANTHROPIC_MODEL": "${localEnv:ANTHROPIC_MODEL}", + "CLAUDE_CODE_SUBAGENT_MODEL": "${localEnv:CLAUDE_CODE_SUBAGENT_MODEL}", + "DISABLE_NON_ESSENTIAL_MODEL_CALLS": "1", + "DISABLE_TELEMETRY": "1", + "CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1" + }, "customizations": { "vscode": { "extensions": [