Skip to content

Commit

Permalink
#163: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-glushko committed Mar 17, 2024
1 parent 0c158bd commit c3b7470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/providers/lang.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ func (m *LanguageModel) ChatStream(ctx context.Context, req *schemas.ChatRequest
m.chatStreamLatency.Add(float64(chunkLatency))

if err != nil {
streamResultC <- clients.NewChatStreamResult(nil, err)

m.healthTracker.TrackErr(err)

// if connection was not even open, we should not send our clients any messages about this failure

return
}

Expand Down

0 comments on commit c3b7470

Please sign in to comment.