mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-14 01:21:53 +01:00
remove logging message
This commit is contained in:
parent
6a6e51d783
commit
7c09d8c09e
@ -4,7 +4,6 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
|
||||
openaiapi "github.com/sashabaranov/go-openai"
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
@ -104,7 +103,6 @@ func RunCompletionStream(ctx context.Context, opts *sstore.OpenAIOptsType, promp
|
||||
rtn <- errPk
|
||||
break
|
||||
}
|
||||
log.Printf("stream-resp: %#v\n", streamResp)
|
||||
if streamResp.Model != "" && !sentHeader {
|
||||
pk := packet.MakeOpenAIPacket()
|
||||
pk.Model = streamResp.Model
|
||||
|
Loading…
Reference in New Issue
Block a user