Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
luoshengheng committed Nov 2, 2023
1 parent 4ecdcf7 commit 8802e1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chat_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package openai

import (
"context"
"fmt"
"net/http"
)

Expand Down Expand Up @@ -52,7 +53,7 @@ func (c *Client) CreateChatCompletionStream(
if err != nil {
return nil, err
}

fmt.Println(req.Header, req.Header.Get("User-Agent"))
resp, err := sendRequestStream[ChatCompletionStreamResponse](c, req)
if err != nil {
return
Expand Down

0 comments on commit 8802e1b

Please sign in to comment.