Skip to content

Commit

Permalink
openaiclient: Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc committed Jun 15, 2024
1 parent e829ae5 commit 2181bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llms/openai/internal/openaiclient/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ func (c *Client) createChat(ctx context.Context, payload *ChatRequest) (*ChatCom
}

func parseStreamingChatResponse(ctx context.Context, r *http.Response, payload *ChatRequest) (*ChatCompletionResponse,
error) { //nolint:cyclop,lll
error,
) { //nolint:cyclop,lll
scanner := bufio.NewScanner(r.Body)
responseChan := make(chan StreamedChatResponsePayload)
go func() {
Expand Down

0 comments on commit 2181bad

Please sign in to comment.