`unknown keywords: permissions, created (ArgumentError)` when calling `Engine.new(**engine)`
bbuchalter opened this issue · comments
Sample code, taken from README:
require 'openai'
openai_client = OpenAI::Client.new(api_key: ENV.fetch("OPENAI_API_KEY"), default_engine: "ada")
puts openai_client.engines
Error:
.gem/ruby/3.2.1/gems/openai-0.3.0/lib/openai/client.rb:30:in `initialize': unknown keywords: permissions, created (ArgumentError)
Engine.new(**engine)
^^^^^^^^