chore: config base url
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user