-
released this
2026-08-25 22:47:28 -05:00 | 63 commits to main since this releaseFixed
Lane detection assigned no roles at all. Every live game logged
Lane detection response contained no text blocksand came back withrolesAssigned=2— and those two were the Smite junglers, whichlaneDetectionServicepre-assigns locally before Claude is ever called. The other eight players fell back toUnknown, so the sorted-by-role embed and the role hints handed to the prediction prompt were both running empty.The call asked for
max_tokens: 150and never setthinking. Current models think by default, and the defaultdisplayisomitted— so the whole 150-token budget was spent inside a thinking block that carries no visible text, and the response came back with zero text blocks.callClaudereturnednull, andif (!raw) breakskipped the retry, so the single warning per game was the whole story.Fixed by sending
thinking: { type: 'disabled' }. Role assignment is deterministic extraction from a fixed champion list, not reasoning, so the small budget was always the right size — it just needed to be spent on the answer.gamePredictionServicewas never hit by this: its 500-token budget leaves room for both.The warning now carries
stopReasonand the block types that did come back, so the next variant of this failure names itself instead of looking like a parse problem.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)