Skip to content

fix: check gateway health endpoint#4

Open
Bortlesboat wants to merge 1 commit into
ridgesai:mainfrom
Bortlesboat:fix/gateway-healthcheck-path
Open

fix: check gateway health endpoint#4
Bortlesboat wants to merge 1 commit into
ridgesai:mainfrom
Bortlesboat:fix/gateway-healthcheck-path

Conversation

@Bortlesboat

Copy link
Copy Markdown

Closes #2.

Summary

  • add a lightweight /health endpoint to the local inference gateway
  • make SandboxManager._check_gateway() call /health for base gateway URLs instead of /
  • preserve explicit gateway paths such as /api/inference

Why

The gateway app exposes API routes but no root route, so the sandbox startup check can produce noisy GET / HTTP/1.1 404 logs even when the gateway is healthy.

Test

.venv/Scripts/python.exe -m pytest -q

Result:

3 passed in 0.40s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove "GET / HTTP/1.1" 404 Not Found when healthchecking

1 participant