Class: Rixie::ToolExecutor::Result
- Inherits:
-
Data
- Object
- Data
- Rixie::ToolExecutor::Result
- Defined in:
- lib/rixie/tool_executor.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#tool_call_id ⇒ Object
readonly
Returns the value of attribute tool_call_id.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content
5 6 7 |
# File 'lib/rixie/tool_executor.rb', line 5 def content @content end |
#error ⇒ Object (readonly)
Returns the value of attribute error
5 6 7 |
# File 'lib/rixie/tool_executor.rb', line 5 def error @error end |
#tool_call_id ⇒ Object (readonly)
Returns the value of attribute tool_call_id
5 6 7 |
# File 'lib/rixie/tool_executor.rb', line 5 def tool_call_id @tool_call_id end |
Instance Method Details
#error? ⇒ Boolean
7 |
# File 'lib/rixie/tool_executor.rb', line 7 def error? = !error.nil? |
#success? ⇒ Boolean
6 |
# File 'lib/rixie/tool_executor.rb', line 6 def success? = error.nil? |