Fix Gemini candidate cap causing search 500s
build-push / docker (push) Successful in 4m12s

This commit is contained in:
AI Assistant
2026-03-13 19:40:30 +09:00
parent e4262613c3
commit d8cc32e2e7
3 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ func RankSearchResults(query string, results []SearchResult) []SearchResult {
func GeminiCandidateLimit(total int) int {
switch {
case total <= 8:
case total <= 12:
return total
case total <= 16:
return 12