forked from snxraven/ravenscott-blog
api changes
This commit is contained in:
parent
a05753a28a
commit
3d33c7ef84
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user