agent: Fix issue where unconfigured MCP extensions would not start server (#33365)
Release Notes: - agent: Fix an issue where MCP servers that were provided by extensions would sometimes not start up
This commit is contained in:
parent
108162423d
commit
1c6b4712a3
4 changed files with 13 additions and 9 deletions
|
@ -945,7 +945,10 @@ impl ExtensionImports for WasmState {
|
|||
.get(key.as_str())
|
||||
})
|
||||
.cloned()
|
||||
.context("Failed to get context server configuration")?;
|
||||
.unwrap_or_else(|| {
|
||||
project::project_settings::ContextServerSettings::default_extension(
|
||||
)
|
||||
});
|
||||
|
||||
match settings {
|
||||
project::project_settings::ContextServerSettings::Custom {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue