Class: Llmshim::Health
- Inherits:
-
Struct
- Object
- Struct
- Llmshim::Health
- Defined in:
- lib/llmshim/types.rb
Overview
The GET /health response.
Instance Attribute Summary collapse
-
#providers ⇒ Object
Returns the value of attribute providers.
-
#status ⇒ Object
Returns the value of attribute status.
Class Method Summary collapse
Instance Attribute Details
#providers ⇒ Object
Returns the value of attribute providers
85 86 87 |
# File 'lib/llmshim/types.rb', line 85 def providers @providers end |
#status ⇒ Object
Returns the value of attribute status
85 86 87 |
# File 'lib/llmshim/types.rb', line 85 def status @status end |
Class Method Details
.from_hash(hash) ⇒ Object
86 87 88 |
# File 'lib/llmshim/types.rb', line 86 def self.from_hash(hash) new(status: hash["status"], providers: hash["providers"] || []) end |