mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-05 07:40:19 +01:00
* 🔧 refactor: Implement tab-isolated storage for favorites and MCP selections - Replaced `createStorageAtom` with `createTabIsolatedAtom` in favorites store to prevent cross-tab synchronization of favorites. - Introduced `createTabIsolatedStorage` and `createTabIsolatedAtom` in `jotai-utils` to facilitate tab-specific state management. - Updated MCP values atom family to utilize tab-isolated storage, ensuring independent MCP server selections across tabs. * 🔧 fix: Update MCP selection logic to ensure active MCPs are only set when configured servers are available - Modified the condition in `useMCPSelect` to check for both available MCPs and configured servers before setting MCP values. This change prevents potential issues when no servers are configured, enhancing the reliability of MCP selections. |
||
|---|---|---|
| .. | ||
| agents.ts | ||
| artifacts.ts | ||
| endpoints.ts | ||
| families.ts | ||
| favorites.ts | ||
| fontSize.ts | ||
| index.ts | ||
| jotai-utils.ts | ||
| language.ts | ||
| mcp.ts | ||
| misc.ts | ||
| preset.ts | ||
| prompts.ts | ||
| search.ts | ||
| settings.ts | ||
| showThinking.ts | ||
| submission.ts | ||
| temporary.ts | ||
| text.ts | ||
| toast.ts | ||
| user.ts | ||
| utils.ts | ||