mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Beam: hide Merge Model selector for Custom fusion
This commit is contained in:
@@ -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*/}
|
||||
|
||||
Reference in New Issue
Block a user