mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Rename Kobold-related endpoints
This commit is contained in:
@@ -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') {
|
||||
|
Reference in New Issue
Block a user