(ctx context.Context)
| 340 | GetChatByID(ctx context.Context, id uuid.UUID) (Chat, error) |
| 341 | GetChatByIDForUpdate(ctx context.Context, id uuid.UUID) (Chat, error) |
| 342 | GetChatComputerUseProvider(ctx context.Context) (string, error) |
| 343 | // Per-root-chat cost breakdown for a single user within a date range. |
| 344 | // Groups by root_chat_id so forked chats roll up under their root. |
| 345 | // Only counts assistant-role messages. |
no outgoing calls