chore(config): simplify dependabot configuration and disable enhanced services for CPU-only deployment
- Simplify .github/dependabot.yml from 70 to 49 lines - Remove beta ecosystems, custom registries, and detailed ignore rules - Reduce open PR limits (npm: 10→5, github-actions: 5→3) - Remove custom labels and dependency-specific ignore rules - Consolidate npm configs from 2 directories to single root directory - Remove docker ecosystem configuration - Add /health endpoint to coordinator
This commit is contained in:
@@ -28,6 +28,7 @@ from .routers import (
|
||||
edge_gpu,
|
||||
cache_management,
|
||||
agent_identity,
|
||||
agent_router,
|
||||
global_marketplace,
|
||||
cross_chain_integration,
|
||||
global_marketplace_integration,
|
||||
@@ -378,6 +379,15 @@ def create_app() -> FastAPI:
|
||||
content=error_response.model_dump()
|
||||
)
|
||||
|
||||
@app.get("/health", tags=["health"], summary="Root health endpoint for CLI compatibility")
|
||||
async def root_health() -> dict[str, str]:
|
||||
import sys
|
||||
return {
|
||||
"status": "ok",
|
||||
"env": settings.app_env,
|
||||
"python_version": f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}"
|
||||
}
|
||||
|
||||
@app.get("/v1/health", tags=["health"], summary="Service healthcheck")
|
||||
async def health() -> dict[str, str]:
|
||||
import sys
|
||||
|
||||
@@ -163,6 +163,15 @@ async def register_gpu(
|
||||
}
|
||||
|
||||
|
||||
@router.get("/marketplace/gpus")
|
||||
async def list_gpus_cli(
|
||||
session: SessionDep,
|
||||
available: Optional[bool] = Query(default=None),
|
||||
):
|
||||
"""List GPUs for CLI compatibility."""
|
||||
return await list_gpus(session, available)
|
||||
|
||||
|
||||
@router.get("/marketplace/gpu/list")
|
||||
async def list_gpus(
|
||||
session: SessionDep,
|
||||
|
||||
Reference in New Issue
Block a user