-
v1.2.6
Stablereleased this
2026-07-12 22:42:38 -05:00 | 32 commits to main since this releaseBug-fix release: unbreaks LoL live-game predictions and the
/aufhockerchat command against Sonnet 5, records prediction outcomes again, and paces Riot API calls more conservatively.Fixed
- Stop sending
temperatureto Claude. The current Claude families (Sonnet 5 and newer) rejecttemperaturewith a400(temperature is deprecated for this model), which was failing live-game predictions, lane detection, and — whenever invoked — the/aufhockerchat command itself. Dropped the parameter from all three call sites and removed the now-deadCLAUDE_TEMPERATUREconfig field, its validation, and the env templates. - Record prediction outcomes again. The
recordResultUPDATE bound$3to both avarcharassignment (actual_winner) and avarcharcomparison (predicted_winner); with node-pg's untyped parameter, Postgres deduced two conflicting types and rejected the query (42P08: inconsistent types deduced for parameter $3 — text versus character varying). Every result write failed, so accuracy stats stayed empty. Cast$3::varcharin both spots.
Changed
- More conservative Riot API pacing. A game detection fans out ~80 Riot calls (rank + mastery + up to 60 match-v5); the shared client throttle sat at 90 req/2min — barely under a personal key's ~100/2min ceiling, which is also shared with the lol-companion project — so the match-v5 burst tripped 429s (absorbed by retry, logged as warnings). Lowered the throttle and made it env-tunable via
LOL_RIOT_MAX_REQUESTS_PER_2MIN(75),LOL_RIOT_MAX_REQUESTS_PER_SEC(15), andLOL_RIOT_MIN_SPACING_MS(350).
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Stop sending