Class: ActionModelContext::TestHelper::Result
- Inherits:
-
Data
- Object
- Data
- ActionModelContext::TestHelper::Result
- Defined in:
- lib/action_model_context/test_helper.rb
Overview
What #call_tool returns.
Instance Attribute Summary collapse
-
#error ⇒ Boolean
readonly
Whether the tool answered an error result.
-
#structured_content ⇒ Hash?
readonly
The structured content of the result.
-
#text ⇒ String
readonly
The text parts of the result, joined.
Instance Method Summary collapse
-
#error? ⇒ Boolean
Tells whether the tool answered an error result.
Instance Attribute Details
#error ⇒ Boolean (readonly)
Whether the tool answered an error result.
#structured_content ⇒ Hash? (readonly)
The structured content of the result.
#text ⇒ String (readonly)
The text parts of the result, joined.
Instance Method Details
#error? ⇒ Boolean
Tells whether the tool answered an error result.