improve custom model selection ux

This commit is contained in:
Daniel Avila 2023-03-06 21:12:36 -05:00
parent d93282640c
commit 6d757ff91f
6 changed files with 49 additions and 20 deletions

View file

@ -45,8 +45,6 @@ module.exports = {
},
updateCustomGpt: async ({ value, ...update }) => {
try {
console.log('updateCustomGpt', value, update);
const customGpt = await CustomGpt.findOne({ value }).exec();
if (!customGpt) {