Fix orchestration and provider reliability

This commit is contained in:
Ryan Ward
2026-08-20 15:13:19 -05:00
parent c585961149
commit 1336f00dfb
17 changed files with 418 additions and 58 deletions
+3 -1
View File
@@ -98,7 +98,9 @@ impl Default for ProviderRunLimits {
fn default() -> Self {
Self {
max_model_turns: 100,
max_model_retries_per_turn: 2,
// Three retries means the initial call plus three delayed retries;
// the fourth failure is surfaced to the user.
max_model_retries_per_turn: 3,
}
}
}
@@ -930,7 +930,7 @@ fn restored_state_validation_rejects_retry_counter_and_terminal_corruption() {
);
let excessive_retries = mutate_run_json(&run(), |value| {
value["model_retries"] = json!(3);
value["model_retries"] = json!(4);
});
assert!(restored_state_error(&excessive_retries).contains("model-retry counter"));