Susana Ferreira
0b4095085e
fix: report combined member limit in group AI spend ( #27589 )
...
## Problem
The organization groups page showed each group's AI budget as the
group's per-member limit, so the total it displayed was effectively
group members × group budget. That ignores per-user budget overrides
charged to the group, so a group where one member has an override
reported a limit that doesn't match what its members can actually spend.
## Changes
- Add `total_spend_limit_micros` to the organization groups AI spend
payload, the combined budget of the members attributed to the group,
with each member's override replacing their share.
- Return `null` for the total when the group has no budget, since its
members spend without a cap.
- Both the organization groups and single group spend endpoints report
the new field, as they share the same query.
- Use the total as the denominator on the groups page AI budget column.
Depends on #27568
2026-07-29 09:16:37 +01:00
..
2026-07-23 11:37:30 +02:00
2026-06-26 18:27:37 +02:00
2025-06-20 13:16:55 -06:00
2026-03-10 18:46:01 +00:00
2026-06-01 18:01:19 +03:00
2026-07-16 13:00:32 +03:00
2026-01-08 15:24:11 +04:00
2026-07-28 13:59:37 +02:00
2026-06-22 13:56:29 +02:00
2026-07-29 09:16:37 +01:00
2026-06-26 18:45:37 +02:00
2026-07-13 19:44:36 -04:00
2026-07-13 19:44:36 -04:00
2026-07-13 19:44:36 -04:00
2025-10-23 20:22:51 +03:00
2026-03-03 16:34:33 +03:00
2025-10-09 14:53:08 +02:00
2025-10-09 14:53:08 +02:00
2026-07-07 09:18:30 -07:00
2026-04-27 22:51:01 +00:00
2026-07-28 16:59:33 -07:00
2024-07-29 19:58:48 -05:00
2026-07-28 16:26:19 +01:00
2026-07-28 16:26:19 +01:00
2025-06-24 13:06:02 +02:00
2026-01-08 15:24:11 +04:00
2026-07-05 06:36:33 +02:00
2026-07-28 15:30:12 -05:00
2025-07-30 13:42:39 -07:00
2024-11-15 12:05:21 -06:00
2025-08-29 10:41:32 +02:00
2025-04-15 10:55:30 +02:00
2026-03-13 14:09:39 +00:00
2026-04-01 13:05:14 +00:00
2026-07-29 07:58:30 +01:00
2026-07-29 07:58:30 +01:00
2026-05-19 09:47:03 -05:00
2026-05-19 09:47:03 -05:00
2025-12-15 17:41:47 +00:00
2024-01-31 14:49:55 +01:00
2025-02-18 13:06:19 +01:00
2026-03-20 12:43:03 -08:00
2025-01-31 12:14:24 -07:00
2025-03-31 09:40:24 -03:00
2025-08-19 10:41:33 +02:00
2026-03-04 12:54:39 +02:00
2026-03-27 05:51:51 +00:00
2026-07-20 00:14:03 +02:00
2025-06-20 13:16:55 -06:00
2026-01-09 15:40:26 -07:00
2026-03-06 10:48:58 +00:00
2026-04-10 12:49:22 +03:00
2026-07-28 16:59:33 -07:00
2026-06-23 17:32:47 -05:00
2026-05-22 20:24:38 +10:00
2023-01-13 12:27:21 +01:00
2026-05-21 09:19:29 -06:00
2026-05-10 11:04:55 -04:00
2025-07-28 15:02:26 +01:00
2026-06-26 18:27:37 +02:00
2026-07-07 09:18:30 -07:00
2026-06-05 10:30:31 -05:00
2023-01-29 15:47:24 -06:00
2025-05-29 08:55:19 -05:00
2025-06-20 13:16:55 -06:00
2026-02-03 14:10:49 -06:00
2025-10-27 17:14:16 -06:00
2025-09-26 11:43:32 +02:00
2024-02-14 17:14:49 +00:00
2026-07-27 16:10:40 -04:00
2026-06-23 17:32:47 -05:00
2024-07-24 14:11:29 +10:00
2026-01-08 15:24:11 +04:00
2026-07-23 16:39:53 -06:00
2025-06-20 13:16:55 -06:00
2022-08-25 19:10:42 +03:00
2023-01-29 15:47:24 -06:00
2024-09-10 20:55:50 +10:00
2026-06-26 16:35:03 -06:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-05-20 00:09:09 +02:00
2024-12-19 00:51:30 +04:00
2024-12-19 00:51:30 +04:00
2025-06-16 16:15:59 -06:00
2026-02-06 15:52:54 +00:00
2026-04-29 12:24:26 -08:00
2025-09-10 11:01:54 -05:00
2026-03-27 08:52:13 -04:00
2025-06-20 13:16:55 -06:00
2022-11-08 17:12:06 +00:00
2026-01-08 15:24:11 +04:00
2026-06-26 09:48:05 -07:00
2026-06-08 15:11:36 +01:00
2026-07-07 09:18:30 -07:00
2026-03-23 13:18:49 -06:00