Rename generate_altscale endpoint
This commit is contained in:
parent
dba66e756a
commit
22e048b5af
|
@ -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) {
|
||||
|
|
|
@ -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', {
|
||||
|
|
Loading…
Reference in New Issue