Beam: hide Merge Model selector for Custom fusion

This commit is contained in:
Enrico Ros
2026-01-24 15:32:58 -08:00
parent 585e5c254a
commit 54b6108719
+7 -5
View File
@@ -11,7 +11,7 @@ import { animationColorBeamGather } from '~/common/util/animUtils';
import { useLLMSelect } from '~/common/components/forms/useLLMSelect';
import { BeamStoreApi, useBeamStore } from '../store-beam.hooks';
import { FFactoryId, FUSION_FACTORIES } from './instructions/beam.gather.factories';
import { CUSTOM_FACTORY_ID, FFactoryId, FUSION_FACTORIES } from './instructions/beam.gather.factories';
import { BEAM_SHOW_REASONING_ICON, GATHER_COLOR } from '../beam.config';
import { beamPaneSx } from '../BeamCard';
import { useModuleBeamStore } from '../store-module-beam';
@@ -162,10 +162,12 @@ export function BeamGatherPane(props: {
{/* Display a Reasoning LLM */}
{(BEAM_SHOW_REASONING_ICON && llmShowReasoning) ? '🧠' : null}
{/* LLM */}
<Box sx={{ my: '-0.25rem', minWidth: 190, maxWidth: 300 }}>
{gatherLlmComponent}
</Box>
{/* LLM - hidden for Custom since each fusion has its own LLM selector */}
{currentFactoryId !== CUSTOM_FACTORY_ID && (
<Box sx={{ my: '-0.25rem', minWidth: 190, maxWidth: 300 }}>
{gatherLlmComponent}
</Box>
)}
{/* Add Fusion */}
{/*<FusionAddButton*/}