lib/openai/assistants.rb in ruby-openai-transitory-v2-6.5.0 vs lib/openai/assistants.rb in ruby-openai-transitory-v2-6.5.1
- old
+ new
@@ -1,8 +1,8 @@
module OpenAI
class Assistants
def initialize(client:)
- @client = client.beta(assistants: "v1")
+ @client = client.beta(assistants: "v2")
end
def list
@client.get(path: "/assistants")
end