refactor(llm): remove isDailyLimitReached from downstream consumers

The LlmService interface no longer exposes isDailyLimitReached — model
switching is handled internally. Remove all checks in thoughtSystem,
inventionSystem, narrationService, and thoughtGenerator. Update mocks
in test files to match the new interface and remove obsolete daily-limit
test cases.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
root
2026-03-09 16:03:09 +00:00
parent 5c9edbde3c
commit 1acfc78e13
9 changed files with 16 additions and 57 deletions
-1
View File
@@ -36,7 +36,6 @@ export function createThoughtSystem(
lastPeriodicTick = tick;
if (pendingGeneration) return;
if (llmService.isDailyLimitReached()) return;
const eligible: { entityId: EntityId; context: ThoughtContext }[] = [];
const npcs = world.query('npcBrain', 'name', 'stats', 'needs');