mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge pull request #1518 from valadaptive/separate-ooba-endpoints
Move Ooba/textgenerationwebui endpoints into their own module
This commit is contained in:
@ -928,7 +928,7 @@ async function getStatusKobold() {
|
||||
}
|
||||
|
||||
async function getStatusTextgen() {
|
||||
const url = '/api/textgenerationwebui/status';
|
||||
const url = '/api/backends/text-completions/status';
|
||||
|
||||
let endpoint = textgen_settings.type === MANCER ?
|
||||
MANCER_SERVER :
|
||||
@ -4434,7 +4434,7 @@ function getGenerateUrl(api) {
|
||||
if (api == 'kobold') {
|
||||
generate_url = '/generate';
|
||||
} else if (api == 'textgenerationwebui') {
|
||||
generate_url = '/api/textgenerationwebui/generate';
|
||||
generate_url = '/api/backends/text-completions/generate';
|
||||
} else if (api == 'novel') {
|
||||
generate_url = '/api/novelai/generate';
|
||||
}
|
||||
|
Reference in New Issue
Block a user