on main help sign in
fix(lint): remove empty line
b5a0d14kujtimiihoxha
internal/llm/agent/agent.go+1−1
@@ -567,7 +567,7 @@ loop:
567 }
567 }
568 // Reset the timeout timer since we received a chunk
568 // Reset the timeout timer since we received a chunk
569 timer.Reset(streamChunkTimeout)
569 timer.Reset(streamChunkTimeout)
570−
570+
571 if processErr := a.processEvent(ctx, sessionID, &assistantMsg, event); processErr != nil {
571 if processErr := a.processEvent(ctx, sessionID, &assistantMsg, event); processErr != nil {
572 if errors.Is(processErr, context.Canceled) {
572 if errors.Is(processErr, context.Canceled) {
573 a.finishMessage(context.Background(), &assistantMsg, message.FinishReasonCanceled, "Request cancelled", "")
573 a.finishMessage(context.Background(), &assistantMsg, message.FinishReasonCanceled, "Request cancelled", "")