mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +01:00
prompt prefix and label state changes when customGpt selected
This commit is contained in:
parent
9c3a78f96b
commit
b4b0c123ba
3 changed files with 28 additions and 27 deletions
|
|
@ -43,18 +43,6 @@ module.exports = {
|
|||
return { customGpt: 'Error getting customGpts' };
|
||||
}
|
||||
},
|
||||
// updateCustomGpt: async ({ _id, ...update }) => {
|
||||
// try {
|
||||
// console.log('updateCustomGpt', _id, update);
|
||||
// return await CustomGpt.findOneAndUpdate({ _id }, update, {
|
||||
// new: true,
|
||||
// upsert: true
|
||||
// }).exec();
|
||||
// } catch (error) {
|
||||
// console.log(error);
|
||||
// return { message: 'Error updating customGpt' };
|
||||
// }
|
||||
// },
|
||||
updateCustomGpt: async ({ value, ...update }) => {
|
||||
try {
|
||||
console.log('updateCustomGpt', value, update);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue