Skip to content

Commit e8adbf9

Browse files
authored
Merge pull request #568 from bennysghost/patch-1
exposing the delete method on open ai models
2 parents 72a37e7 + 6d44b1f commit e8adbf9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/openai/models.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@ def list
1111
def retrieve(id:)
1212
@client.get(path: "/models/#{id}")
1313
end
14+
15+
def delete(id:)
16+
@client.delete(path: "/models/#{id}")
17+
end
1418
end
1519
end

0 commit comments

Comments
 (0)