huskies: merge 1210 story Gateway-side "digging in" notification for long tool-only turns
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user