Show server version in logs and UI

This commit is contained in:
Brandon Zhang
2026-03-27 18:16:30 +08:00
parent 8d4392ee5a
commit 7a8dd14bd3
11 changed files with 34 additions and 7 deletions

View File

@@ -11,6 +11,7 @@ from datetime import datetime, timezone
from fastapi import APIRouter
from fastapi.responses import StreamingResponse
from app.config import APP_VERSION
from app.models import (
AgentInfo,
HealthResponse,
@@ -49,6 +50,7 @@ def get_status():
server=ServerInfo(
status="up",
started_at=status_service.server_started_at(),
version=APP_VERSION,
),
agent=agent_info,
queue=QueueCounts(**counts),