You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: completion.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import (
9
9
var (
10
10
ErrCompletionUnsupportedModel=errors.New("this model is not supported with this method, please use CreateChatCompletion client method instead") //nolint:lll
11
11
ErrCompletionStreamNotSupported=errors.New("streaming is not supported with this method, please use CreateCompletionStream") //nolint:lll
12
-
ErrCompletionRequestPromptTypeNotSupported=errors.New("the type of CompletionRequest.Promp only supports string and []string")//nolint:lll
12
+
ErrCompletionRequestPromptTypeNotSupported=errors.New("the type of CompletionRequest.Prompt only supports string and []string") //nolint:lll
13
13
)
14
14
15
15
// GPT3 Defines the models provided by OpenAI to use when generating
0 commit comments