git.iko.soy/opencode-android
on c0621ff help sign in
28 lines 546 B history raw
1package soy.iko.opencode.data.model
3import androidx.compose.runtime.Immutable
4import kotlinx.serialization.Serializable
6@Immutable
7@Serializable
8data class TimeInfo(
9 val created: Long? = null,
10 val updated: Long? = null,
11 val completed: Long? = null,
14@Immutable
15@Serializable
16data class Tokens(
17 val input: Long = 0,
18 val output: Long = 0,
19 val reasoning: Long = 0,
20 val cache: Cache = Cache(),
21) {
22 @Serializable
23 @Immutable
24 data class Cache(
25 val read: Long = 0,
26 val write: Long = 0,
27 )