modify docker setup

This commit is contained in:
Danny Avila 2023-03-06 15:56:25 -05:00
parent d9930dd2bc
commit 08f59819cf
20 changed files with 146 additions and 25863 deletions

View file

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