prompt prefix and label state changes when customGpt selected

This commit is contained in:
Daniel Avila 2023-03-04 18:00:12 -05:00
parent 9c3a78f96b
commit b4b0c123ba
3 changed files with 28 additions and 27 deletions

View file

@ -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);