mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-21 17:56:13 +01:00
🧹 chore: Remove Deprecated BingAI Code & Address Mobile Focus (#5565)
* chore: remove all bing code * chore: remove bing code and auto-focus effects * chore: add back escapeRegExp helper function for regex special character handling * chore: remove deprecated fields from settings and conversation schema * fix: ensure default endpoint is set correctly in conversation setup * feat: add disableFocus option to newConversation for improved search behavior
This commit is contained in:
parent
1226f56d0c
commit
19fa4d9f54
52 changed files with 52 additions and 1384 deletions
|
|
@ -8,7 +8,6 @@ const defaultConfig: TEndpointsConfig = {
|
|||
[EModelEndpoint.assistants]: null,
|
||||
[EModelEndpoint.agents]: null,
|
||||
[EModelEndpoint.openAI]: null,
|
||||
[EModelEndpoint.bingAI]: null,
|
||||
[EModelEndpoint.chatGPTBrowser]: null,
|
||||
[EModelEndpoint.gptPlugins]: null,
|
||||
[EModelEndpoint.google]: null,
|
||||
|
|
@ -30,7 +29,7 @@ const plugins = selector({
|
|||
key: 'plugins',
|
||||
get: ({ get }) => {
|
||||
const config = get(endpointsConfig) || {};
|
||||
return config?.gptPlugins?.plugins || {};
|
||||
return config.gptPlugins?.plugins || {};
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -184,11 +184,6 @@ const showAgentSettingsFamily = atomFamily({
|
|||
default: false,
|
||||
});
|
||||
|
||||
const showBingToneSettingFamily = atomFamily({
|
||||
key: 'showBingToneSettingByIndex',
|
||||
default: false,
|
||||
});
|
||||
|
||||
const showPopoverFamily = atomFamily({
|
||||
key: 'showPopoverByIndex',
|
||||
default: false,
|
||||
|
|
@ -385,7 +380,6 @@ export default {
|
|||
isSubmittingFamily,
|
||||
optionSettingsFamily,
|
||||
showAgentSettingsFamily,
|
||||
showBingToneSettingFamily,
|
||||
showPopoverFamily,
|
||||
latestMessageFamily,
|
||||
messagesSiblingIdxFamily,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ const staticAtoms = {
|
|||
key: 'currentSettingsView',
|
||||
default: SettingsViews.default,
|
||||
}),
|
||||
showBingToneSetting: atom<boolean>({ key: 'showBingToneSetting', default: false }),
|
||||
showPopover: atom<boolean>({ key: 'showPopover', default: false }),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue