Module: Legion::Extensions::Llm::Vertex::Actor::DiscoveryRefreshHealthDisplay
- Included in:
- DiscoveryRefresh
- Defined in:
- lib/legion/extensions/llm/vertex/actors/discovery_refresh.rb
Overview
Display-only health/capabilities settings for DiscoveryRefresh, written AFTER each registry commit. Legacy 4-key health shape (circuit_state/denied/available/adjustment) so pre-SSOT consumers see unchanged output, plus display-only provenance fields. Display only — routing authority stays the in-memory AvailabilityFact.
Constant Summary collapse
- HEALTH_ADJUSTMENT_AVAILABLE =
0- HEALTH_ADJUSTMENT_DEGRADED =
-50
- CAPABILITY_NAMES_BY_OPERATION =
{ chat: :completion, stream_chat: :streaming, embed: :embedding, image: :image, transcribe: :audio_transcription, translate: :audio_transcription, speak: :audio_speech, moderate: :moderation }.freeze