mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
🪜 fix: userMCPAuthMap Sequential Agents assignment
This commit is contained in:
parent
543b617e1c
commit
7d08da1a8a
1 changed files with 5 additions and 1 deletions
|
|
@ -149,7 +149,11 @@ const initializeClient = async ({ req, res, signal, endpointOption }) => {
|
||||||
endpointOption,
|
endpointOption,
|
||||||
allowedProviders,
|
allowedProviders,
|
||||||
});
|
});
|
||||||
Object.assign(userMCPAuthMap, config.userMCPAuthMap ?? {});
|
if (userMCPAuthMap != null) {
|
||||||
|
Object.assign(userMCPAuthMap, config.userMCPAuthMap ?? {});
|
||||||
|
} else {
|
||||||
|
userMCPAuthMap = config.userMCPAuthMap;
|
||||||
|
}
|
||||||
agentConfigs.set(agentId, config);
|
agentConfigs.set(agentId, config);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue