Exception: OpenAI::Helpers::Beta::Agents::FilePreparationError
- Inherits:
-
Errors::Error
- Object
- StandardError
- Errors::Error
- OpenAI::Helpers::Beta::Agents::FilePreparationError
- Defined in:
- lib/openai/helpers/beta/agents/files.rb,
sig/openai/helpers/beta/agents/files.rbs
Overview
A preparation failed after uploads may have been created (beta).
Instance Attribute Summary collapse
-
#prepared ⇒ PreparedFiles
readonly
Returns the value of attribute prepared.
Attributes inherited from Errors::Error
Instance Method Summary collapse
-
#initialize(prepared:) ⇒ FilePreparationError
constructor
private
A new instance of FilePreparationError.
Constructor Details
#initialize(prepared:) ⇒ FilePreparationError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of FilePreparationError.
35 36 37 38 |
# File 'lib/openai/helpers/beta/agents/files.rb', line 35 def initialize(prepared:) @prepared = prepared super("Agent file preparation failed; prepared contains the uploaded file references") end |
Instance Attribute Details
#prepared ⇒ PreparedFiles (readonly)
Returns the value of attribute prepared.
32 33 34 |
# File 'lib/openai/helpers/beta/agents/files.rb', line 32 def prepared @prepared end |