Skip to content

Commit 7432624

Browse files
committed
PWN::Plugins::OpenAI module - update #help method to reflect usage of all methods in module
1 parent d55e47d commit 7432624

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
3737
$ rvm list gemsets
3838
$ gem install --verbose pwn
3939
$ pwn
40-
pwn[v0.4.659]:001 >>> PWN.help
40+
pwn[v0.4.660]:001 >>> PWN.help
4141
```
4242

4343
[![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -52,7 +52,7 @@ $ rvm use ruby-3.2.2@pwn
5252
$ gem uninstall --all --executables pwn
5353
$ gem install --verbose pwn
5454
$ pwn
55-
pwn[v0.4.659]:001 >>> PWN.help
55+
pwn[v0.4.660]:001 >>> PWN.help
5656
```
5757

5858

lib/pwn/plugins/open_ai.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,11 +643,21 @@ module OpenAI
643643
fine_tune_id: 'required - respective :id value returned from #list_fine_tunes',
644644
)
645645
646+
response = #{self}.cancel_fine_tune(
647+
token: 'required - Bearer token',
648+
fine_tune_id: 'required - respective :id value returned from #list_fine_tunes',
649+
)
650+
646651
response = #{self}.get_fine_tune_events(
647652
token: 'required - Bearer token',
648653
fine_tune_id: 'required - respective :id value returned from #list_fine_tunes',
649654
)
650655
656+
response = #{self}.delete_fine_tune_model(
657+
token: 'required - Bearer token',
658+
model: 'required - model to delete'
659+
)
660+
651661
response = #{self}.list_files(
652662
token: 'required - Bearer token'
653663
)

lib/pwn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module PWN
4-
VERSION = '0.4.659'
4+
VERSION = '0.4.660'
55
end

0 commit comments

Comments
 (0)