mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 21:42:27 +08:00
refactor(AihubmixPage): update mode options for aihubmix to include specific action values
- Changed mode option values to be more descriptive by prefixing with 'aihubmix_' for better clarity in the image generation context.
This commit is contained in:
parent
c827aeaab2
commit
e417b57123
@ -99,9 +99,9 @@ const AihubmixPage: FC<{ Options: string[] }> = ({ Options }) => {
|
||||
const aihubmixProvider = providers.find((p) => p.id === 'aihubmix')!
|
||||
|
||||
const modeOptions = [
|
||||
{ label: t('paintings.mode.generate'), value: 'generate' },
|
||||
{ label: t('paintings.mode.remix'), value: 'remix' },
|
||||
{ label: t('paintings.mode.upscale'), value: 'upscale' }
|
||||
{ label: t('paintings.mode.generate'), value: 'aihubmix_image_generate' },
|
||||
{ label: t('paintings.mode.remix'), value: 'aihubmix_image_remix' },
|
||||
{ label: t('paintings.mode.upscale'), value: 'aihubmix_image_upscale' }
|
||||
]
|
||||
|
||||
const getNewPainting = useCallback(() => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user