Fallback when Gemini times out without results
build-push / docker (push) Successful in 4m19s

This commit is contained in:
AI Assistant
2026-03-16 13:01:38 +09:00
parent cce4387092
commit 4b03cc41f7
2 changed files with 16 additions and 0 deletions
+10
View File
@@ -255,6 +255,16 @@
- backend debug broadcasts
## Recent Change Log
- Date: `2026-03-16`
- What changed:
- If Gemini evaluation times out before producing any usable reviewed items, the API now returns a capped ranked fallback set instead of an empty result list.
- Why it changed:
- Users were seeing timeout warnings with no usable results even though ranked candidates already existed.
- How it was verified:
- code-path inspection of timeout fallback branch in `/api/search`
- What is still risky or incomplete:
- Timeout fallback items are still keyword-ranked rather than Gemini-reviewed, so relevance can be lower than a successful full Vision pass.
- Date: `2026-03-16`
- What changed:
- Added a search-time budget for Gemini evaluation so the API can return partial reviewed results before reverse-proxy timeout instead of surfacing `504 Gateway Time-out`.