| from fastapi import APIRouter | |
| from ..core.llm import get_pool_status | |
| router = APIRouter(prefix="/debug", tags=["debug"]) | |
| async def groq_key_status(): | |
| """Live snapshot of Groq key pool — shows which keys are active, tpm_limited, or exhausted.""" | |
| return get_pool_status() | |