Billing is now handled internally by chat_service.process via record_ai_session. Remove the old billing.rs file and explicit record_ai_usage calls from all 4 AI streaming modes (nonstreaming, react_nonstreaming, react_streaming, streaming). |
||
|---|---|---|
| .. | ||
| service | ||
| ai.rs | ||
| category.rs | ||
| connection.rs | ||
| draft_and_history.rs | ||
| error.rs | ||
| helpers.rs | ||
| lib.rs | ||
| member.rs | ||
| message.rs | ||
| metrics.rs | ||
| notification.rs | ||
| pin.rs | ||
| reaction.rs | ||
| room_ai_queue.rs | ||
| room.rs | ||
| search.rs | ||
| thread.rs | ||
| types.rs | ||
| ws_context.rs | ||