Class: Legion::CLI::Chat::DaemonChat::ToolResult
- Inherits:
-
Struct
- Object
- Struct
- Legion::CLI::Chat::DaemonChat::ToolResult
- Defined in:
- lib/legion/cli/chat/daemon_chat.rb
Overview
Single shared struct class for tool result objects; avoids allocating an anonymous Struct class on every build_tool_result_object call.
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#id ⇒ Object
Returns the value of attribute id.
-
#tool_call_id ⇒ Object
Returns the value of attribute tool_call_id.
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
37 38 39 |
# File 'lib/legion/cli/chat/daemon_chat.rb', line 37 def content @content end |
#id ⇒ Object
Returns the value of attribute id
37 38 39 |
# File 'lib/legion/cli/chat/daemon_chat.rb', line 37 def id @id end |
#tool_call_id ⇒ Object
Returns the value of attribute tool_call_id
37 38 39 |
# File 'lib/legion/cli/chat/daemon_chat.rb', line 37 def tool_call_id @tool_call_id end |