Skip to content

Conversation

@agamm
Copy link
Owner

@agamm agamm commented Aug 9, 2025

Summary

  • Fixed progress bar threading issues and duplicate status prints
  • Enhanced status bar with better failure handling and mixed progress bars
  • Improved PDF token estimation with provider-specific calculations

Changes

  • Progress bar threading: Added _progress_lock and rate limiting to prevent race conditions and duplicate prints
  • Status display: Enhanced progress bars to show success/failure proportions, improved status text formatting
  • PDF token estimation: Simplified to use provider-specific tokens per page (Anthropic: 2000, OpenAI: 1000, Gemini: 258)
  • Rich display: Disabled auto-refresh and added manual refresh synchronization

Test plan

  • Progress bars display correctly without flickering
  • Status updates are rate-limited and synchronized
  • PDF token estimation uses appropriate provider-specific values
  • Mixed success/failure batches show proper progress indication

🤖 Generated with Claude Code

@agamm agamm merged commit 0971812 into main Aug 9, 2025
1 check passed
@agamm agamm deleted the fix-progress-and-pdf-tokens branch August 9, 2025 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants