Fix orchestration and provider reliability
This commit is contained in:
@@ -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"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user