Skip to content

Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.

fix: the facing check's refusal line says it was not asked again, not that there was no retry - a 429 is now sent again before it

Soohong Kimaea786e76d8b
diff --git a/sprite_gen/gen/facing_vision.py b/sprite_gen/gen/facing_vision.py
index 0038ed2..7052401 100644
--- a/sprite_gen/gen/facing_vision.py
+++ b/sprite_gen/gen/facing_vision.py
@@ -30,7 +30,7 @@ def request_body(path: Path, model: str) -> dict:
def response_text(status: int, reply) -> tuple[str, dict]:
if status != 200:
- raise SystemExit(f"facing-vision: HTTP {status}; no retry or fallback")
+ raise SystemExit(f"facing-vision: HTTP {status}; not asked again, no fallback")
if not isinstance(reply, dict):
raise ValueError("invalid vision envelope")
text = "".join(part["text"] for item in reply.get("output", [])