Class: Rixie::Agent::Thought
- Inherits:
-
Data
- Object
- Data
- Rixie::Agent::Thought
- Defined in:
- lib/rixie/agent.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#tool_calls ⇒ Object
readonly
Returns the value of attribute tool_calls.
-
#tool_results ⇒ Object
readonly
Returns the value of attribute tool_results.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content
5 6 7 |
# File 'lib/rixie/agent.rb', line 5 def content @content end |
#tool_calls ⇒ Object (readonly)
Returns the value of attribute tool_calls
5 6 7 |
# File 'lib/rixie/agent.rb', line 5 def tool_calls @tool_calls end |
#tool_results ⇒ Object (readonly)
Returns the value of attribute tool_results
5 6 7 |
# File 'lib/rixie/agent.rb', line 5 def tool_results @tool_results end |
#type ⇒ Object (readonly)
Returns the value of attribute type
5 6 7 |
# File 'lib/rixie/agent.rb', line 5 def type @type end |
Instance Method Details
#finish? ⇒ Boolean
7 |
# File 'lib/rixie/agent.rb', line 7 def finish? = type == :finish |
#tool_call? ⇒ Boolean
6 |
# File 'lib/rixie/agent.rb', line 6 def tool_call? = type == :tool_call |