mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🧼 fix: Sanitize MCP Server Selection Against Config (#10243)
* filter out unavailable servers * bump render time * Fix import path for useGetStartupConfig * refactor: Change configuredServers to use Set for improved filtering of available MCPs --------- Co-authored-by: Danny Avila <danny@librechat.ai>
This commit is contained in:
parent
90e610ceda
commit
13b784a3e6
3 changed files with 104 additions and 18 deletions
|
|
@ -194,7 +194,7 @@ describe('Virtual Scrolling Performance', () => {
|
|||
|
||||
// Performance check: rendering should be fast
|
||||
const renderTime = endTime - startTime;
|
||||
expect(renderTime).toBeLessThan(720);
|
||||
expect(renderTime).toBeLessThan(740);
|
||||
|
||||
console.log(`Rendered 1000 agents in ${renderTime.toFixed(2)}ms`);
|
||||
console.log(`Only ${renderedCards.length} DOM nodes created for 1000 agents`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue