feat: enhance prompts and validation for tool-call safety; enforce error handling and technical debt awareness
This commit is contained in:
@@ -307,7 +307,7 @@ pub fn apply_action(state: &mut AppStateRest, action: Action) {
|
||||
// every ~1s while disconnected, every ~30s while connected, so the
|
||||
// status bar reflects real API availability without user input.
|
||||
let check_interval = if state.misc.api_connected { 600 } else { 20 };
|
||||
if state.misc.tick_count % check_interval == 0 {
|
||||
if state.misc.tick_count.is_multiple_of(check_interval) {
|
||||
spawn_api_connectivity_check(state);
|
||||
}
|
||||
crate::app::review::maybe_run_staleness_sweep(state);
|
||||
|
||||
Reference in New Issue
Block a user