We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4090e commit 4bc1e1aCopy full SHA for 4bc1e1a
1 file changed
src/components/Chat.tsx
@@ -156,19 +156,16 @@ function Chat() {
156
)
157
.join("\n");
158
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
- );
+ const response = await fetch("https://newserver-ic4m.onrender.com/chat", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({
+ model: selectedModel,
+ prompt: conversation,
+ }),
+ });
172
173
if (!response.ok) {
174
throw new Error(`HTTP error! status: ${response.status}`);
0 commit comments