mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Rename /tokenize_via_api endpoint
No redirect for this since I don't expect any extensions to be calling this directly.
This commit is contained in:
@@ -1774,7 +1774,7 @@ async function sendAI21Request(request, response) {
|
||||
|
||||
}
|
||||
|
||||
app.post('/tokenize_via_api', jsonParser, async function (request, response) {
|
||||
app.post('/api/tokenizers/remote/encode', jsonParser, async function (request, response) {
|
||||
if (!request.body) {
|
||||
return response.sendStatus(400);
|
||||
}
|
||||
|
Reference in New Issue
Block a user