mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-28 14:07:55 +00:00
#463 made the OpenAI-compatible engine wrap upstream HTTP errors (incl. 404) in EngineConnectionError with an actionable message, but test_invalid_model_404 still asserted the raw httpx.HTTPStatusError, so it broke on main once #463 landed (#463 was a stale fork PR with no CI, so it wasn't caught pre-merge). Expect EngineConnectionError now, asserting the httpx.HTTPStatusError is preserved as the chained cause. Whole tests/engine suite is green again. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>