M8-T4: Shim liefert nur gefetchte Seiten (>100 chars raw_content) — gptr-Scraper-Crash umgangen; RETRIEVERS zusaetzlich gesetzt

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-20 14:33:21 +01:00
co-authored by Mistral Vibe
parent 7b07e07a5d
commit 7bfae89b78
3 changed files with 20 additions and 3 deletions
@@ -235,3 +235,11 @@ Internet → NPM (CT 103, 443) → auth_request-Subrequest an oauth2-proxy
`raw_content` mit vollem Seiten-Text (>100 chars) — dann scrapt
gpt-researcher nicht selbst. `SHIM_MAX_RESULTS=8`, Fetch-Cap 200k/Seite,
Timeout 10 s. Verifiziert: shim count 8 mit Seiteninhalt.
- **Befund 20.11. (weiterhin 0 Quellen):** Retriever ok (142 results via
shim), aber gpt-researcher scrapt trotzdem und crasht am kaputten Scraper
(`Error processing None ... endswith`, `Scraped data size: 0`). Fix im Shim:
nur erfolgreich gefetchte Seiten (>100 chars raw_content) werden
durchgereicht — dann nutzt gpt-researcher raw_content direkt und scrapt
nicht selbst. `RETRIEVERS` (plural) wird zusätzlich gesetzt (v3.8 liest
`RETRIEVER`, neuere Pfade offenbar plural).