Files
oh-my-pi/packages
bubua12 2aad7ab8fc fix(ai): handle omitted creditUsagePercent in fresh xAI weekly periods
- Default creditUsagePercent to 0 when a valid weekly currentPeriod is present but the percentage field is omitted by xAI API (such as newly reset weekly cycles with zero usage).
- Default product usage percentage to 0 when omitted.
- Add test coverage for unconsumed weekly periods and update unified billing tests.
2026-08-12 15:59:43 +08:00
..
2026-08-12 03:26:12 +02:00
2026-08-12 03:26:12 +02:00
2026-08-06 13:32:34 +02:00
2026-08-12 03:26:12 +02:00
2026-08-12 03:26:12 +02:00
2026-08-12 03:26:12 +02:00
2026-08-12 03:26:12 +02:00
2026-08-12 03:26:12 +02:00
2026-08-12 03:26:12 +02:00
2026-08-12 03:26:12 +02:00
2026-08-12 03:26:12 +02:00