Files
igny8/backend
IGNY8 VPS (Salman) 5b11c4001e Phase 0: Update credit costs and CreditService, add credit checks to AI Engine
- Updated CREDIT_COSTS to match Phase 0 spec (flat structure)
- Added get_credit_cost() method to CreditService
- Updated check_credits() to accept operation_type and amount
- Added deduct_credits_for_operation() convenience method
- Updated AI Engine to check credits BEFORE AI call
- Updated AI Engine to deduct credits AFTER successful execution
- Added helper methods for operation type mapping and amount calculation
2025-11-16 18:37:41 +00:00
..
2025-11-12 05:10:34 +00:00
2025-11-09 10:27:02 +00:00
2025-11-09 10:27:02 +00:00
2025-11-09 10:27:02 +00:00
2025-11-09 10:27:02 +00:00
2025-11-09 10:27:02 +00:00
asd
2025-11-12 06:09:07 +05:00