scheduling
scheduling
¶
Admission to Ollama: interactive work precedes pending housekeeping.
This coordinates this process only. An inference already sent to Ollama is never pretended to be preemptible, nor are other programs' requests covered.
Classes¶
InferenceQueueTimeout
¶
Bases: RuntimeError
The local admission queue timed out, not the Ollama connection.
BackgroundStopped
¶
Bases: RuntimeError
The memory service stopped before its request reached Ollama.
InferenceScheduler
¶
Source code in src/diapason/engine/scheduling.py
Functions:¶
interactive_turn
¶
Protect the whole chat, including gaps between tools and continuations.