complete customChatGpt model selection

This commit is contained in:
Danny Avila 2023-03-03 15:52:06 -05:00
parent 0f9cfd0395
commit 214228542a
18 changed files with 742 additions and 63 deletions

View file

@ -8,9 +8,11 @@ export default function handleSubmit({
convo,
messageHandler,
convoHandler,
errorHandler
errorHandler,
chatGptLabel,
promptPrefix
}) {
let payload = { model, text };
let payload = { model, text, chatGptLabel, promptPrefix };
if (convo.conversationId && convo.parentMessageId) {
payload = {
...payload,