api changes

This commit is contained in:
Raven Scott 2025-01-13 23:25:22 -05:00
parent a05753a28a
commit 3d33c7ef84

View File

@ -22,7 +22,7 @@ async function sendMessage() {
toggleLoading(true); // Show loading indicator
try {
const response = await fetch('https://infer.x64.world/chat', {
const response = await fetch('https://infer.x64.world/api/v1/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
@ -177,7 +177,7 @@ function handleErrorResponse(status) {
// Helper function to reset the conversation on the server
async function sendResetRequest() {
const response = await fetch('https://infer.x64.world/reset-conversation', {
const response = await fetch('https://infer.x64.world/api/v1/reset-conversation', {
method: 'POST',
headers: {
'Content-Type': 'application/json'