Class: ServerToolResult
- Inherits:
-
ToolResult
- Object
- Dry::Struct
- BaseStruct
- ToolResult
- ServerToolResult
- Defined in:
- lib/llm_gateway/adapters/structs.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
77 78 79 80 81 |
# File 'lib/llm_gateway/adapters/structs.rb', line 77 def to_h result = super result[:name] = name unless name.nil? result end |