chore: config base url

This commit is contained in:
jialin
2025-11-13 12:22:16 +08:00
parent 03963b736a
commit f963b3a000
16 changed files with 34 additions and 59 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import { GPUSTACK_API_BASE_URL } from '@/config/settings';
import _ from 'lodash';
import { CREAT_IMAGE_API } from '../apis';
import { AudioData, MessageItem } from './types';
@@ -118,7 +119,7 @@ export const OpenAIViewCode = {
}
},
rerank: {
api: '/v1/rerank',
api: `/${GPUSTACK_API_BASE_URL}/rerank`,
logcommand: {
python: 'json()',
node: 'data'
@@ -450,19 +450,6 @@ export const ImageAdvancedParamsConfig: ParamsSchema[] = [
}
]
},
{
type: 'Switch',
name: 'preview',
label: {
text: 'Preview',
isLocalized: false
},
rules: [
{
required: false
}
]
},
{
type: 'InputNumber',
name: 'seed',