Class: Candle::ToolCallParser::ParseResult
- Inherits:
-
Struct
- Object
- Struct
- Candle::ToolCallParser::ParseResult
- Defined in:
- lib/candle/tool_call_parser.rb
Instance Attribute Summary collapse
-
#text_response ⇒ Object
Returns the value of attribute text_response.
-
#tool_calls ⇒ Object
Returns the value of attribute tool_calls.
Instance Method Summary collapse
Instance Attribute Details
#text_response ⇒ Object
Returns the value of attribute text_response
15 16 17 |
# File 'lib/candle/tool_call_parser.rb', line 15 def text_response @text_response end |
#tool_calls ⇒ Object
Returns the value of attribute tool_calls
15 16 17 |
# File 'lib/candle/tool_call_parser.rb', line 15 def tool_calls @tool_calls end |
Instance Method Details
#has_tool_calls? ⇒ Boolean
16 17 18 |
# File 'lib/candle/tool_call_parser.rb', line 16 def has_tool_calls? tool_calls && !tool_calls.empty? end |