torch==2.10.0 torchvision==0.25.0 transformers==4.57.1 Pillow==12.1.1 matplotlib==3.10.8 einops==0.8.2 addict==2.4.0 easydict==1.13 pymupdf==1.27.2.2 psutil==7.2.2 Set up the environment (uv-managed ...
My code changed when I stopped using loops for everything. One line of JavaScript can replace a 10-line for loop.
Then it hit production and fell apart. I've built 100+ agents. I see this pattern constantly. The demo uses a clean PDF, 3 fields, English text, $500 invoice. Production gets a blurry scan, 12 fields, ...