Files
AutoGPT/autogpt_platform/backend/test
Zamil Majdy f6a3113b64 feat(backend/executor): add non-blocking charge and sync managers
- Made _charge_usage optionally non-blocking with async_mode parameter
- Created ChargeManager for background credit processing
- Added SyncManager for periodic syncing of queued updates
- Integrated managers into ExecutionProcessor lifecycle
- Added unit tests for caching functionality

The system now validates balance quickly and charges asynchronously, while queued updates are synced every 5 seconds by the background sync manager.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-26 23:57:44 +00:00
..