mekosotto Claude Opus 4.7 (1M context) commited on
Commit
6d6c2e6
·
1 Parent(s): 0673175

fix(deploy): drop hard-coded NEUROBRIDGE_DISABLE_LLM=1 from Dockerfiles

Browse files

The image was forcing the explainer into template-only mode at the
container level, so the OPENROUTER_API_KEY secret on HF Space had no
effect. Removing the kill-switch lets the explainer reach the live
LLM path. The user can still re-enable the kill-switch by setting
NEUROBRIDGE_DISABLE_LLM=1 as an HF Space variable for outage drills.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files changed (2) hide show
  1. Dockerfile +1 -2
  2. Dockerfile.hf +1 -2
Dockerfile CHANGED
@@ -8,8 +8,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
8
  PYTHONUNBUFFERED=1 \
9
  PIP_DISABLE_PIP_VERSION_CHECK=1 \
10
  PIP_NO_CACHE_DIR=1 \
11
- DEPLOY_ENV=hf_spaces \
12
- NEUROBRIDGE_DISABLE_LLM=1
13
 
14
  # --- system deps for RDKit, nibabel, MNE ---
15
  RUN apt-get update && apt-get install -y --no-install-recommends \
 
8
  PYTHONUNBUFFERED=1 \
9
  PIP_DISABLE_PIP_VERSION_CHECK=1 \
10
  PIP_NO_CACHE_DIR=1 \
11
+ DEPLOY_ENV=hf_spaces
 
12
 
13
  # --- system deps for RDKit, nibabel, MNE ---
14
  RUN apt-get update && apt-get install -y --no-install-recommends \
Dockerfile.hf CHANGED
@@ -8,8 +8,7 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
8
  PYTHONUNBUFFERED=1 \
9
  PIP_DISABLE_PIP_VERSION_CHECK=1 \
10
  PIP_NO_CACHE_DIR=1 \
11
- DEPLOY_ENV=hf_spaces \
12
- NEUROBRIDGE_DISABLE_LLM=1
13
 
14
  # --- system deps for RDKit, nibabel, MNE ---
15
  RUN apt-get update && apt-get install -y --no-install-recommends \
 
8
  PYTHONUNBUFFERED=1 \
9
  PIP_DISABLE_PIP_VERSION_CHECK=1 \
10
  PIP_NO_CACHE_DIR=1 \
11
+ DEPLOY_ENV=hf_spaces
 
12
 
13
  # --- system deps for RDKit, nibabel, MNE ---
14
  RUN apt-get update && apt-get install -y --no-install-recommends \