mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
🏪 fix: Show Agent Builder in Marketplace (#9537)
* don't require conversation endpoint * bump up render time a bit * a little less
This commit is contained in:
parent
c0f95f971a
commit
5667cc9702
2 changed files with 1 additions and 5 deletions
|
@ -194,7 +194,7 @@ describe('Virtual Scrolling Performance', () => {
|
|||
|
||||
// Performance check: rendering should be fast
|
||||
const renderTime = endTime - startTime;
|
||||
expect(renderTime).toBeLessThan(650);
|
||||
expect(renderTime).toBeLessThan(720);
|
||||
|
||||
console.log(`Rendered 1000 agents in ${renderTime.toFixed(2)}ms`);
|
||||
console.log(`Only ${renderedCards.length} DOM nodes created for 1000 agents`);
|
||||
|
|
|
@ -26,10 +26,6 @@ function AgentPanelSwitchWithContext() {
|
|||
}
|
||||
}, [setCurrentAgentId, conversation?.agent_id]);
|
||||
|
||||
if (!conversation?.endpoint) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (activePanel === Panel.actions) {
|
||||
return <ActionsPanel />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue