Rename Kobold-related endpoints

This commit is contained in:
valadaptive
2023-12-11 23:25:25 -05:00
parent 35c2f8bf66
commit 274605a07c
3 changed files with 5 additions and 5 deletions

View File

@@ -891,7 +891,7 @@ async function getStatusKobold() {
}
try {
const response = await fetch('/getstatus', {
const response = await fetch('/api/backends/kobold/status', {
method: 'POST',
headers: getRequestHeaders(),
body: JSON.stringify({
@@ -4426,7 +4426,7 @@ function setInContextMessages(lastmsg, type) {
function getGenerateUrl(api) {
let generate_url = '';
if (api == 'kobold') {
generate_url = '/generate';
generate_url = '/api/backends/kobold/generate';
} else if (api == 'textgenerationwebui') {
generate_url = '/api/backends/text-completions/generate';
} else if (api == 'novel') {