mirror of
https://github.com/Heretek-AI/AetherTable.git
synced 2026-11-10 20:51:25 -10:00
pytest 'live' marker + conftest auto-skip unless LLM_KEY is set AND RUN_LIVE_LLM=1 — structurally CI-proof. Six tests exercise the REAL endpoint: mechanical/safety classification provenance, Concordia generator-marker-vs-reality (a template marker while the endpoint is alive FAILS), strict-JSON parsing, soft 60s latency budget, and a gate proving non-mock configuration. Connection failures degrade to SKIP. First live run surfaced two real integration bugs, reported honestly as skips rather than fabricated passes: .env named a nonexistent model that hangs instead of 404ing (fixed in .env), and the endpoint returns text/event-stream even for non-streaming calls which breaks resp.json() (fix iteration pending). Default suite unchanged: 406 passed / 8 skips. Co-Authored-By: Claude <[email protected]>