language_models: Use weak entities in subscribe/observes around the language model registry (#52312)
## Context I was getting some leak detection failures in evals and tracked it down to these entities getting passed into observe/subscribe callbacks and causing cycles. Release Notes: - N/A Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
2 files changedLine totals unavailable