fix: add missing LLM_TIMEOUT constant in coach.py

LLM_TIMEOUT was referenced but never defined, causing a NameError
in the Ollama streaming SSE code path when COACH_PROVIDER != 'perplexity'.
This commit is contained in:
KoalaTrapLord authored and GitHub committed 2026-03-24 20:43:36 -04:00
1 parent 58bbb514ad
commit 07b2c9d5a9
1 file changed
+2
+2
View File
@@ -40,6 +40,8 @@ from services.logging import log_coach, log_deckgen
import httpx
from coach.config import COACH_PROVIDER, PPLX_MODEL
LLM_TIMEOUT = 120 # seconds
router = APIRouter(tags=["coach"])