Rolled back to v0.0.2

This commit is contained in:
Danny Avila 2023-03-10 12:55:45 -05:00
parent 57d3025717
commit 72ff47e204
20 changed files with 87 additions and 142 deletions

View file

@ -11,7 +11,7 @@ export default function handleSubmit({
chatGptLabel,
promptPrefix
}) {
const endpoint = `/api/ask`;
const endpoint = `http://localhost:3080/api/ask`;
let payload = { model, text, chatGptLabel, promptPrefix };
if (convo.conversationId && convo.parentMessageId) {
payload = {