Skip to content

Commit

Permalink
translate
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinZonda committed Jan 20, 2024
1 parent 8c27bd9 commit efe3768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/exec/svr/handler/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func Search(c *gin.Context) {
})

searched := ""
searchRaw, err := rag.SearchRaw(query.Country(), query.Locale(), query.ProgLang+", "+query.Question)
searchRaw, err := rag.SearchRaw(query.Country(), query.Locale(), query.ProgLang+", "+translate(query.Question))
if err == nil {
searched = rag.SearchResultsToText(searchRaw.SpiderResults)
}
Expand Down

0 comments on commit efe3768

Please sign in to comment.