mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
Fallback for older app-server MCP inventory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user