fix: add missing autonomy_level arg to test after merge with master

The refresh-skills test was missing the autonomy_level parameter
added to build_system_prompt_with_mode and ChannelRuntimeContext
by a recently merged PR.
This commit is contained in:
argenis de la rosa 2026-03-19 15:31:18 -04:00 committed by Roman Tataurov
parent 496bd825bc
commit ca296e6150
No known key found for this signature in database
GPG Key ID: 70A51EF3185C334B

View File

@ -7642,6 +7642,7 @@ BTC is currently around $65,000 based on latest tool output."#
None,
false,
config.skills.prompt_injection_mode,
AutonomyLevel::default(),
);
assert!(
!initial_system_prompt.contains("refresh-test"),
@ -7695,6 +7696,7 @@ BTC is currently around $65,000 based on latest tool output."#
approval_manager: Arc::new(ApprovalManager::for_non_interactive(
&crate::config::AutonomyConfig::default(),
)),
autonomy_level: AutonomyLevel::default(),
activated_tools: None,
});