Class: Raif::Concerns::ToolCallValidation::ValidationResult
- Inherits:
-
Struct
- Object
- Struct
- Raif::Concerns::ToolCallValidation::ValidationResult
- Defined in:
- app/models/raif/concerns/tool_call_validation.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#prepared_arguments ⇒ Object
Returns the value of attribute prepared_arguments.
-
#raw_arguments ⇒ Object
Returns the value of attribute raw_arguments.
-
#status ⇒ Object
Returns the value of attribute status.
-
#tool_klass ⇒ Object
Returns the value of attribute tool_klass.
-
#tool_name ⇒ Object
Returns the value of attribute tool_name.
Instance Method Summary collapse
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors
14 15 16 |
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14 def errors @errors end |
#prepared_arguments ⇒ Object
Returns the value of attribute prepared_arguments
14 15 16 |
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14 def prepared_arguments @prepared_arguments end |
#raw_arguments ⇒ Object
Returns the value of attribute raw_arguments
14 15 16 |
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14 def raw_arguments @raw_arguments end |
#status ⇒ Object
Returns the value of attribute status
14 15 16 |
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14 def status @status end |
#tool_klass ⇒ Object
Returns the value of attribute tool_klass
14 15 16 |
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14 def tool_klass @tool_klass end |
#tool_name ⇒ Object
Returns the value of attribute tool_name
14 15 16 |
# File 'app/models/raif/concerns/tool_call_validation.rb', line 14 def tool_name @tool_name end |
Instance Method Details
#ok? ⇒ Boolean
15 16 17 |
# File 'app/models/raif/concerns/tool_call_validation.rb', line 15 def ok? status == :ok end |