Debug a library error by reading the whole StackOverflow thread
Когда использовать: The top SO answer is often not right; the conversation below has the real fix.
Предварительные требования
- SERPER_API_KEY — serper.dev — 2500 free queries/mo
Поток
-
Search the exact errorSearch for: 'fatal error: 'openssl/opensslv.h' file not found' arm64 mac — return the top 3 SO URLs.✓ Скопировано→ SO URLs with snippets
-
Fetch the full thread of the most relevantget_content on the top SO URL — give me the whole thread including every comment.✓ Скопировано→ Full Q+A+comments in Markdown
-
Pick the fix the thread's consensus supportsWhich answer (including ones below the accepted one) does the thread's comments actually validate? Show me the exact commands.✓ Скопировано→ Specific command sequence
Итог: The real fix, not just the accepted answer — with evidence from comments.
Подводные камни
- SO pages can be huge; full content can be 10k+ tokens — Ask for an executive summary first, then drill in