chore: Fix model removal on instance stop, refactor discovery (#1142)
- Stop advertising a model when it's last instance stops. Previously was when any instance stops. - Faster locks on model manager. - Move discovery code out of http, as it is used by all inputs.
Showing
lib/llm/src/discovery.rs
0 → 100644
Please register or sign in to comment