refactor(message-log-api): move TokenStats to a separate file for improved modularity
ci / JVM build + tests (push) Has been cancelled

This commit is contained in:
2026-09-20 21:03:31 +03:00
parent 8f8f7f1020
commit 2cc1d923b3
2 changed files with 9 additions and 8 deletions
@@ -3,14 +3,6 @@ package pw.binom.agentik.messageLog
import kotlinx.coroutines.flow.Flow
import kotlin.time.Instant
data class TokenStats(
val turns: Int,
val inputTokens: Long,
val outputTokens: Long,
) {
val totalTokens: Long get() = inputTokens + outputTokens
}
/**
* Append-only audit log сообщений.
*
@@ -0,0 +1,9 @@
package pw.binom.agentik.messageLog
data class TokenStats(
val turns: Int,
val inputTokens: Long,
val outputTokens: Long,
) {
val totalTokens: Long get() = inputTokens + outputTokens
}