LibreChat/api/lib/utils/misc.js

9 lines
163 B
JavaScript
Raw Normal View History

const cleanUpPrimaryKeyValue = (value) => {
// For Bing convoId handling
2023-03-24 18:26:59 -04:00
return value.replace(/--/g, '|');
2023-03-22 16:31:57 -04:00
};
module.exports = {
cleanUpPrimaryKeyValue,
2023-03-22 16:31:57 -04:00
};