Skip to content

Commit fc5b7b6

Browse files
committed
fix: update config test for new max_tool_iterations default
Update config_file_with_missing_optional_fields_uses_defaults test to expect 25 (the new default) instead of 10.
1 parent 827c303 commit fc5b7b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/config_persistence.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ default_temperature = 0.7
198198
let parsed: Config = toml::from_str(minimal_toml).expect("minimal TOML should parse");
199199

200200
// Agent config should use defaults
201-
assert_eq!(parsed.agent.max_tool_iterations, 10);
201+
assert_eq!(parsed.agent.max_tool_iterations, 25);
202202
assert_eq!(parsed.agent.max_history_messages, 50);
203203
assert!(!parsed.agent.compact_context);
204204
}

0 commit comments

Comments
 (0)