Skip to content

Commit

Permalink
Remove unused dependency and cleanup code.
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho committed Jul 17, 2024
1 parent e092ce6 commit e81335b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/chat_main_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (

mapset "github.com/deckarep/golang-set/v2"
"github.com/rotisserie/eris"
"github.com/samber/lo"
openai "github.com/sashabaranov/go-openai"

"github.com/gorilla/mux"
Expand Down Expand Up @@ -218,7 +217,6 @@ func genAnswer(h *ChatHandler, w http.ResponseWriter, chatSessionUuid string, ch
}
}


func regenerateAnswer(h *ChatHandler, w http.ResponseWriter, chatSessionUuid string, chatUuid string) {
ctx := context.Background()
chatSession, err := h.service.q.GetChatSessionByUUID(ctx, chatSessionUuid)
Expand Down

0 comments on commit e81335b

Please sign in to comment.