Skip to content

Commit fbe5045

Browse files
committed
Rubocop
1 parent 38f14b9 commit fbe5045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/openai/files.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def prepare_file_input(file_input:)
4848
elsif file_input.respond_to?(:read) && file_input.respond_to?(:rewind)
4949
file_input
5050
else
51-
raise ArgumentError, "Invalid file - must be either a readable IO object or a path to a file."
51+
raise ArgumentError, "Invalid file - must be a StringIO object or a path to a file."
5252
end
5353
end
5454

0 commit comments

Comments
 (0)