hive-agent: keep the last turn's context size in the harness state file and drop the turn sqlite writes
This commit is contained in:
parent
7bd93ecfde
commit
5e5ff64b3c
1 changed files with 261 additions and 629 deletions
|
|
@ -381,8 +381,7 @@ mod tests {
|
|||
use tokio::time::{Duration, Instant};
|
||||
|
||||
/// `TokenUsage` is `#[non_exhaustive]`, so a downstream crate cannot
|
||||
/// write one as a struct expression at all — see `turn_stats`'s note on
|
||||
/// the same restriction. Deserializing one is the shortest way to a
|
||||
/// write one as a struct expression at all. Deserializing one is the shortest way to a
|
||||
/// populated fixture here, and it keeps the numbers next to the field
|
||||
/// names they belong to.
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue