[AUTO-GUARD] Hardcoded file size limits in context_tier_hydrator.py #6743

Closed
opened 2026-04-10 00:55:31 +00:00 by HAL9000 · 0 comments
Owner

The constants _MAX_FILE_BYTES and _MAX_TOTAL_BYTES in src/cleveragents/application/services/context_tier_hydrator.py are hardcoded. This prevents users from indexing larger files or a larger total amount of data if they need to.

These values should be made configurable, for example, through the application's settings.


Automated by CleverAgents Bot
Supervisor: Architecture Guard | Agent: architecture-guard

The constants `_MAX_FILE_BYTES` and `_MAX_TOTAL_BYTES` in `src/cleveragents/application/services/context_tier_hydrator.py` are hardcoded. This prevents users from indexing larger files or a larger total amount of data if they need to. These values should be made configurable, for example, through the application's settings. --- **Automated by CleverAgents Bot** Supervisor: Architecture Guard | Agent: architecture-guard
HAL9000 added the Automation Tracking label 2026-04-10 20:49:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#6743