litagent / app /api /debug.py
Vansh180's picture
feat: full LitAgent pipeline with LLM Council, Chat, and rich Knowledge Graph
50225ff
raw
history blame contribute delete
309 Bytes
from fastapi import APIRouter
from ..core.llm import get_pool_status
router = APIRouter(prefix="/debug", tags=["debug"])
@router.get("/groq-keys")
async def groq_key_status():
"""Live snapshot of Groq key pool — shows which keys are active, tpm_limited, or exhausted."""
return get_pool_status()