Class: RubyLLM::Tool::Halt
- Inherits:
-
Object
- Object
- RubyLLM::Tool::Halt
- Defined in:
- lib/ruby_llm/tool.rb
Overview
Stops conversation continuation after tool execution
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content) ⇒ Halt
constructor
A new instance of Halt.
- #to_s ⇒ Object
Constructor Details
#initialize(content) ⇒ Halt
Returns a new instance of Halt.
24 25 26 |
# File 'lib/ruby_llm/tool.rb', line 24 def initialize(content) @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
22 23 24 |
# File 'lib/ruby_llm/tool.rb', line 22 def content @content end |
Instance Method Details
#to_s ⇒ Object
28 29 30 |
# File 'lib/ruby_llm/tool.rb', line 28 def to_s @content.to_s end |