Which space on device is full? We’re talking about 5 files here. Likely a bug?
@cpp - can you please file a bug: https://issuetracker.google.com/issues/new?component=1379083&template=1836320
That shouldn’t be happening unless there is something in your dev.nix file that is downloading a lot more dependencies into your project.
# To learn more about how to use Nix to configure your environment
# see: https://developers.google.com/idx/guides/customize-idx-env
{ pkgs, ... }: {
# Which nixpkgs channel to use.
channel = "stable-23.11"; # or "unstable"
# Use https://search.nixos.org/packages to find packages
packages = [ pkgs.python3 pkgs.python3Packages.pip ];
idx = {
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
extensions = [ "ms-python.python" "rangav.vscode-thunder-client" "ms-python.debugpy" "ritwickdey.LiveServer" ];
# Enable previews and customize configuration
previews = {
enable = true;
previews = {
web = {
command = [ "python3" "-m" "http.server" "$PORT" "--bind" "0.0.0.0" ];
manager = "web";
};
};
};
workspace = {
# Runs when a workspace is first created with this `dev.nix` file
onCreate = {
install =
"python -m venv .venv && curl -sSL https://install.python-poetry.org | python -";
# Open editors for the following files by default, if they exist:
default.openFiles = [ "src/main.py" "src/crew.py" "src/config/agents.yaml" "src/config/tasks.yaml" ];
};
# Runs when a workspace is (re)started
onStart = {
run-server = "./devserver.sh";
set-env-vars = ''
export HUGGINGFACE_ACCESS_TOKEN="hf_buaVAInxxxxxxxxxxxxxxxxxxxxxxxxxxxxxUwd"
export OPENAI_API_KEY="sk-proj-_yOYxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxtycA"
export OPENAI_MODEL_NAME="gpt-4o"
export ANTHROPIC_MODEL="claude-3-5-sonnet-20240620"
export ANTHROPIC_API_KEY="sk-ant-api03-gRR4RsRf-1XxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxmaM0Q-6QAiZQAA"
export GITHUB_TOKEN="ghp_yrxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxrcc"
export ESLINT_CONFIG_PATH="/home/user/open-noodl/src/config/eslint.config.mjs"
export ELECTRON_BUILDER_CONFIG_PATH="/home/user/open-noodl/src/electron-builder.json"
export JEST_CONFIG_PATH="/home/user/open-noodl/src/config/jest.config.js"
'';
};
};
};
}
Bug reported
Thanks