mirror of
https://github.com/wassname/moral-maps.git
synced 2026-09-07 17:00:37 +08:00
Replace the hand-rolled OpenAI client with openrouter_wrapper.openrouter_request, which backs off on 429/provider/upstream/malformed errors (a rate-limited model no longer kills the run), so retry logic doesn't diverge from the rest of the stack. read_items_sampled now carries the raw sample texts; wvs_map appends every response to wvs_iw_responses.jsonl (audit trail -- these API calls cost money). Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>