Update go version
This commit is contained in:
2
vendor/github.com/sashabaranov/go-openai/stream.go
generated
vendored
2
vendor/github.com/sashabaranov/go-openai/stream.go
generated
vendored
@@ -22,7 +22,7 @@ func (c *Client) CreateCompletionStream(
|
||||
ctx context.Context,
|
||||
request CompletionRequest,
|
||||
) (stream *CompletionStream, err error) {
|
||||
urlSuffix := "/completions"
|
||||
urlSuffix := completionsSuffix
|
||||
if !checkEndpointSupportsModel(urlSuffix, request.Model) {
|
||||
err = ErrCompletionUnsupportedModel
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user