Spaces:
Running
Running
fix(docker): COPY a11oy_code.py into image so the /api/a11oy/v1/code router surface registers
Browse filesThe Dockerfile uses per-file COPY (no `COPY . .`). a11oy_code.py (the 7-tier TIERS + route() module) was never copied, so the new router-surface block in serve.py raised ModuleNotFoundError at import and its try/except swallowed it -> GET /v1/code/tiers|health|index + POST /v1/code/route|/auto 404'd and the /code chat could not answer. Adds COPY a11oy_code.py. Co-Authored-By: Perplexity Computer Agent <agent@perplexity.ai>
- Dockerfile +9 -0
Dockerfile
CHANGED
|
@@ -313,6 +313,15 @@ COPY szl_formula_wiring.py ./szl_formula_wiring.py
|
|
| 313 |
# Signed-off-by: Stephen P. Lutar Jr. <stephenlutar2@gmail.com>
|
| 314 |
COPY a11oy_code_engine.py ./a11oy_code_engine.py
|
| 315 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 316 |
# Warhacker mission tabs backend (5 investor-facing surfaces; reuses
|
| 317 |
# szl_agentic_loop primitives + the in-image signer). Per-file COPY
|
| 318 |
# (this Dockerfile never uses `COPY . .`) — without this
|
|
|
|
| 313 |
# Signed-off-by: Stephen P. Lutar Jr. <stephenlutar2@gmail.com>
|
| 314 |
COPY a11oy_code_engine.py ./a11oy_code_engine.py
|
| 315 |
|
| 316 |
+
# a11oy.code 7-tier organ->model router (TIERS + route() + tiers_payload()).
|
| 317 |
+
# Per-file COPY (this Dockerfile never uses `COPY . .`) -- without this
|
| 318 |
+
# `import a11oy_code` fails at boot and the /api/a11oy/v1/code/{tiers,health,
|
| 319 |
+
# index,roster,route,auto,complete} router surface (registered in serve.py before
|
| 320 |
+
# the catch-all) silently no-ops, so the /code UI's GET /tiers + POST /route|/auto
|
| 321 |
+
# calls 404 and the chat cannot answer. Imports only stdlib (math/time/hashlib).
|
| 322 |
+
# Signed-off-by: Stephen P. Lutar Jr. <stephenlutar2@gmail.com>
|
| 323 |
+
COPY a11oy_code.py ./a11oy_code.py
|
| 324 |
+
|
| 325 |
# Warhacker mission tabs backend (5 investor-facing surfaces; reuses
|
| 326 |
# szl_agentic_loop primitives + the in-image signer). Per-file COPY
|
| 327 |
# (this Dockerfile never uses `COPY . .`) — without this
|