diff --git a/api/models/schema/convoSchema.js b/api/models/schema/convoSchema.js index 7c0e3d493c..2506953299 100644 --- a/api/models/schema/convoSchema.js +++ b/api/models/schema/convoSchema.js @@ -86,8 +86,7 @@ const convoSchema = mongoose.Schema( toneStyle: { type: String, default: null - }, - suggestions: [{ type: String }] + } }, { timestamps: true } ); diff --git a/client/src/components/Input/OpenAIOptions/Settings.jsx b/client/src/components/Input/OpenAIOptions/Settings.jsx index 3e603c0fcf..8924557eea 100644 --- a/client/src/components/Input/OpenAIOptions/Settings.jsx +++ b/client/src/components/Input/OpenAIOptions/Settings.jsx @@ -31,33 +31,16 @@ function Settings(props) { setPresP } = props; - // temperature - // top_p - // presence_penalty - // frequency_penalty - // chatGptLabel - // promptPrefix - // const endpointsConfig = useRecoilValue(store.endpointsConfig); - - // const availableModels = endpointsConfig?.['openAI']?.['availableModels'] || []; - - // const [model, setModel] = useState('text-davinci-003'); - // const [chatGptLabel, setChatGptLabel] = useState(''); - // const [promptPrefix, setPromptPrefix] = useState(''); - // const [temperature, setTemperature] = useState(1); - // // const [maxTokens, setMaxTokens] = useState(2048); - // const [topP, setTopP] = useState(1); - // const [freqP, setFreqP] = useState(0); - // const [presP, setPresP] = useState(0); - // const textareaRef = useRef(null); - // const inputRef = useRef(null); - return ( <>
- + {/*