test: pass tool arguments to log_agent in the UI smoke test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Marcos Paulo
2026-10-28 18:50:07 -03:00
parent e876035fc6
commit a98bed0da7
+2 -2
View File
@@ -32,8 +32,8 @@ fn redesigned_surfaces_draw_in_every_theme() {
theme::apply_choice(&ctx, choice);
let mut ed = Editor::default();
let mut st = UiState::default();
st.log_agent("get_basic_info", None);
st.log_agent("write_html", Some("bad html".into()));
st.log_agent("get_basic_info", &serde_json::Value::Null, None);
st.log_agent("write_html", &serde_json::Value::Null, Some("bad html".into()));
st.agent_endpoint = "http://127.0.0.1:29980/mcp".into();
st.settings.open = true;
st.show_help = true;