🔥 del: Delete invalid code
This commit is contained in:
parent
5e2954a1a0
commit
029b3c8c45
@ -9,8 +9,6 @@ import (
|
||||
"one-api/providers/base"
|
||||
"one-api/types"
|
||||
"strings"
|
||||
|
||||
"github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream"
|
||||
)
|
||||
|
||||
type CohereStreamHandler struct {
|
||||
@ -53,8 +51,6 @@ func (p *CohereProvider) CreateChatCompletionStream(request *types.ChatCompletio
|
||||
Request: request,
|
||||
}
|
||||
|
||||
eventstream.NewDecoder()
|
||||
|
||||
return requester.RequestStream(p.Requester, resp, chatHandler.HandlerStream)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user