mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00

* 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
8 lines
163 B
JavaScript
8 lines
163 B
JavaScript
const cleanUpPrimaryKeyValue = (value) => {
|
|
// For Bing convoId handling
|
|
return value.replace(/--/g, '|');
|
|
};
|
|
|
|
module.exports = {
|
|
cleanUpPrimaryKeyValue,
|
|
};
|