| 617 | } |
| 618 | |
| 619 | int ChatModel::sessionCachedPromptTokens() const |
| 620 | { |
| 621 | int total = 0; |
| 622 | for (const auto &m : m_messages) |
| 623 | total += m.cachedPromptTokens; |
| 624 | return total; |
| 625 | } |
| 626 | |
| 627 | int ChatModel::sessionTotalTokens() const |
| 628 | { |
nothing calls this directly
no outgoing calls
no test coverage detected