Class: ReasoningContent
- Inherits:
-
BaseStruct
- Object
- Dry::Struct
- BaseStruct
- ReasoningContent
- Defined in:
- lib/llm_gateway/adapters/structs.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
58 59 60 61 62 63 64 65 |
# File 'lib/llm_gateway/adapters/structs.rb', line 58 def to_h result = { type: type, reasoning: reasoning } result[:signature] = signature unless signature.nil? result end |