huskies: merge 1210 story Gateway-side "digging in" notification for long tool-only turns

This commit is contained in:
Huskies Agent
2026-07-18 10:12:31 +00:00
parent 98f8825701
commit 3f37a6cf34
8 changed files with 275 additions and 0 deletions
@@ -130,6 +130,10 @@ pub struct BotContext {
/// Minimum seconds between repeated `compact` suggestions for the same
/// room. From `bot.toml`'s `compact_suggest_cooldown_secs`.
pub compact_suggest_cooldown_secs: i64,
/// Seconds a turn may spend on tool calls before emitting any
/// user-facing text before the bot posts a "digging in" notice. From
/// `bot.toml`'s `digging_in_threshold_secs`.
pub digging_in_threshold_secs: u64,
}
impl BotContext {
@@ -356,6 +360,7 @@ mod tests {
compact_seed_max_bytes: 8_000,
cache_read_suggest_threshold: 50_000,
compact_suggest_cooldown_secs: 3_600,
digging_in_threshold_secs: 15,
}
}