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:
1 parent
58bbb514ad
commit
07b2c9d5a9
1 file changed
+2
@@ -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"])
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user