Local LLMs Need a Timeout Before They Need a Bigger Model
It turns a local model launcher into a bounded inference doctor checklist.
Show prompt
Role: You are a local AI runtime reviewer. Context: I run local LLMs on owned hardware. The model server may be alive even when a generation probe hangs. Task: Design a small inference doctor for my local model stack. Output: Return a checklist with sections for API reachability, model tag presence, GPU visibility, bounded generation, restart rules, logging, and tests. Constraints: Use one tiny deterministic prompt. Use both a request timeout and a wall-clock timeout. Restart the model server only after bounded checks prove it is needed. Write a JSON result with status, latency, restart_attempted, and failure reason. Keep the plan small enough to implement in one script.