lib/openai/files.rb in ruby-openai-7.1.0 vs lib/openai/files.rb in ruby-openai-7.2.0

- old
+ new

@@ -9,11 +9,11 @@ def initialize(client:) @client = client end - def list - @client.get(path: "/files") + def list(parameters: {}) + @client.get(path: "/files", parameters: parameters) end def upload(parameters: {}) file_input = parameters[:file] file = prepare_file_input(file_input: file_input)