Rename generate_altscale endpoint

This commit is contained in:
valadaptive 2023-12-11 23:54:47 -05:00
parent dba66e756a
commit 22e048b5af
2 changed files with 2 additions and 2 deletions

View File

@ -1382,7 +1382,7 @@ function openRouterGroupByVendor(array) {
}
async function sendAltScaleRequest(messages, logit_bias, signal, type) {
const generate_url = '/generate_altscale';
const generate_url = '/api/backends/scale-alt/generate';
let firstSysMsgs = [];
for (let msg of messages) {

View File

@ -620,7 +620,7 @@ function cleanUploads() {
}
}
app.post('/generate_altscale', jsonParser, function (request, response_generate_scale) {
app.post('/api/backends/scale-alt/generate', jsonParser, function (request, response_generate_scale) {
if (!request.body) return response_generate_scale.sendStatus(400);
fetch('https://dashboard.scale.com/spellbook/api/trpc/v2.variant.run', {