Skip to content

Commit 4bc1e1a

Browse files
Changed some designs.
1 parent af4090e commit 4bc1e1a

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

src/components/Chat.tsx

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -156,19 +156,16 @@ function Chat() {
156156
)
157157
.join("\n");
158158

159-
const response = await fetch(
160-
"https://olova-research-server.onrender.com/chat",
161-
{
162-
method: "POST",
163-
headers: {
164-
"Content-Type": "application/json",
165-
},
166-
body: JSON.stringify({
167-
model: selectedModel,
168-
prompt: conversation,
169-
}),
170-
}
171-
);
159+
const response = await fetch("https://newserver-ic4m.onrender.com/chat", {
160+
method: "POST",
161+
headers: {
162+
"Content-Type": "application/json",
163+
},
164+
body: JSON.stringify({
165+
model: selectedModel,
166+
prompt: conversation,
167+
}),
168+
});
172169

173170
if (!response.ok) {
174171
throw new Error(`HTTP error! status: ${response.status}`);

0 commit comments

Comments
 (0)