From e417b57123afbaa83873c594ed775a07914af4ab Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Tue, 2 Sep 2025 04:22:56 +0800 Subject: [PATCH] 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. --- src/renderer/src/pages/paintings/AihubmixPage.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/pages/paintings/AihubmixPage.tsx b/src/renderer/src/pages/paintings/AihubmixPage.tsx index 6c9236e7dd..e9bbac452a 100644 --- a/src/renderer/src/pages/paintings/AihubmixPage.tsx +++ b/src/renderer/src/pages/paintings/AihubmixPage.tsx @@ -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(() => {