Skip to content

Commit

Permalink
make linter happy (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashabaranov committed Apr 5, 2024
1 parent 2646bce commit 774fc9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fine_tunes.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ func (c *Client) CreateFineTune(ctx context.Context, request FineTuneRequest) (r
// This API will be officially deprecated on January 4th, 2024.
// OpenAI recommends to migrate to the new fine tuning API implemented in fine_tuning_job.go.
func (c *Client) CancelFineTune(ctx context.Context, fineTuneID string) (response FineTune, err error) {
//nolint:goconst // Decreases readability
req, err := c.newRequest(ctx, http.MethodPost, c.fullURL("/fine-tunes/"+fineTuneID+"/cancel"))
if err != nil {
return
Expand Down

0 comments on commit 774fc9d

Please sign in to comment.