diff --git a/.env.example b/.env.example index bc16929..ed16451 100644 --- a/.env.example +++ b/.env.example @@ -150,7 +150,8 @@ RP_NAME=openGym # COACH_JOB_TIMEOUT_MS gives a job longer than the default five minutes. Only a # local model on a CPU needs it — and normally only for the first request after # the model server restarts (the api pre-warms the rules cache after that; a -# warm review on a 3B model takes about a minute). A hosted API that needs +# warm review on a 3B model takes one to a few minutes, depending on the CPU). +# A hosted API that needs # more has a problem. Never goes below one minute. # # COACH_JOB_TIMEOUT_MS=1500000 diff --git a/docs/AI_COACH.md b/docs/AI_COACH.md index eb0c106..52f428b 100644 --- a/docs/AI_COACH.md +++ b/docs/AI_COACH.md @@ -259,7 +259,9 @@ is a bad way to find that out. A job is given five minutes by default, which is generous for any hosted API. A model running on a CPU behind the compatible endpoint can need more — with a warm cache a 3B model answers -in about a minute, but the first job after the model loads pays the full prompt once — so +in one to a few minutes depending on the CPU (an old 4-core box manages ~12 prompt tokens/s; +a modern one several times that), but the first job after the model loads pays the full +prompt once — so `COACH_JOB_TIMEOUT_MS` in `.env` raises the budget (never below one minute); the api's own HTTP client waits as long as the job, and the chat says "this can take a while" rather than promising minutes when the endpoint is a local one. The phone's BYOK mode does the same on diff --git a/website/docs.html b/website/docs.html index 2791c92..524e113 100644 --- a/website/docs.html +++ b/website/docs.html @@ -199,7 +199,8 @@ docker compose up -d Honest sizing, from measuring exactly this on a small box:
qwen2.5:3b) fits a 4–6 GB container and
- answers a review in about a minute on a 4-core CPU once its cache is warm.