Fix server settings (#38477)

In the settings refactor I'd assumed server settings were like project
settings. This is not the case, they are in fact the normal user
settings;
but just read from the server.

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2025-09-19 10:38:39 -06:00
committed by GitHub
parent b9188e0fd3
commit 30a29ab34e
7 changed files with 13 additions and 60 deletions
@@ -1797,8 +1797,8 @@ async fn test_remote_external_agent_server(
pretty_assertions::assert_eq!(names, ["gemini", "claude"]);
server_cx.update_global::<SettingsStore, _>(|settings_store, cx| {
settings_store
.set_raw_server_settings(
Some(json!({
.set_server_settings(
&json!({
"agent_servers": {
"foo": {
"command": "foo-cli",
@@ -1808,7 +1808,8 @@ async fn test_remote_external_agent_server(
}
}
}
})),
})
.to_string(),
cx,
)
.unwrap();