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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user