Problem
The AI reviewer is trying to ingest big files which results in tool usage error:
File content (89479 tokens) exceeds maximum allowed tokens (25000).
Initial error report findings
- Total occurrences: 13
- Affected files: big ones like
src/CONST/index.ts (89k tokens), src/libs/actions/Policy/Policy.ts (70k tokens)
- Root cause: Agents were trying to read entire files, exceeding the 25k token read limit
Problem
The AI reviewer is trying to ingest big files which results in tool usage error:
Initial error report findings
src/CONST/index.ts (89k tokens),src/libs/actions/Policy/Policy.ts (70k tokens)