Fallback for older app-server MCP inventory

This commit is contained in:
Charlie Marsh
2026-07-05 20:57:58 -04:00
parent 2e64c1bcf1
commit 3abb31758b
17 changed files with 96 additions and 21 deletions
@@ -1290,7 +1290,7 @@ impl ThreadRequestProcessor {
model_provider: config_snapshot.model_provider_id,
service_tier: config_snapshot.service_tier,
cwd,
mcp_server_names,
mcp_server_names: Some(mcp_server_names),
runtime_workspace_roots: config_snapshot.workspace_roots,
instruction_sources,
approval_policy: config_snapshot.approval_policy.into(),
@@ -81,7 +81,7 @@ url = "{mcp_server_url}/mcp"
let thread_start_response: ThreadStartResponse = to_response(thread_start_response)?;
assert_eq!(
thread_start_response.mcp_server_names,
vec!["some-server".to_string()]
Some(vec!["some-server".to_string()])
);
let request_id = mcp