bep40 commited on
Commit
300132c
·
verified ·
1 Parent(s): b996e23

Run patch_agent_backend.py + auto-approve + mid-task detection

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # Restore + patch frontend + backend models + auto-continue V17
2
  FROM node:20-alpine AS frontend-builder
3
  RUN apk add --no-cache git python3
4
  RUN git clone --depth 1 https://huggingface.co/spaces/smolagents/ml-intern /source
@@ -40,6 +40,10 @@ COPY configs/frontend_agent_config.json ./configs/frontend_agent_config.json
40
  COPY patch_models.py /tmp/patch_models.py
41
  RUN python /tmp/patch_models.py
42
 
 
 
 
 
43
  RUN mkdir -p /app/session_logs && chown -R user:user /app
44
 
45
  USER user
 
1
+ # Restore + patch frontend + backend models + auto-continue V17 + auto-approve
2
  FROM node:20-alpine AS frontend-builder
3
  RUN apk add --no-cache git python3
4
  RUN git clone --depth 1 https://huggingface.co/spaces/smolagents/ml-intern /source
 
40
  COPY patch_models.py /tmp/patch_models.py
41
  RUN python /tmp/patch_models.py
42
 
43
+ # Patch backend: auto-continue detection + auto-approve
44
+ COPY patch_agent_backend.py /tmp/patch_agent_backend.py
45
+ RUN python /tmp/patch_agent_backend.py
46
+
47
  RUN mkdir -p /app/session_logs && chown -R user:user /app
48
 
49
  USER user