On-demand Scout service (replaces the nightly aggregator): - FastAPI agent-mesh service; card name "matchmaking-service" (HTTP /a2a/tasks + Redis-stream worker matching the sibling-service pattern) - run_search: parallel multi-board sweep (Naukri/blackfalcondata + Foundit + LinkedIn), city-filtered at the board, cheapest-per-result first - per-board adapters + normalizers -> ScoutJob with rich read-only details and offsite apply links; recall mode + MVQ guard - result cache for dev replay ($0); per-board cost knobs; retry-on-5xx - research/: engine design, board cost economics, India-actor shortlist, POC
13 lines
307 B
Python
13 lines
307 B
Python
"""Health endpoint — used by deploy.sh's health checks."""
|
|
from fastapi import APIRouter
|
|
|
|
from app.config import get_settings
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/health")
|
|
async def health():
|
|
s = get_settings()
|
|
return {"status": "ok", "service": s.SERVICE_NAME, "version": "2.0.0", "env": s.ENV}
|