hide inference params and remove subtitle show in finder

This commit is contained in:
Faisal Amir 2024-01-17 12:17:17 +07:00
parent 60a8450d34
commit 382cf48898
2 changed files with 1 additions and 14 deletions

View File

@ -203,9 +203,6 @@ const TopBar = () => {
<span className="font-medium text-black dark:text-muted-foreground">
Show in Finder
</span>
<span className="mt-1 text-muted-foreground">
Opens model.json
</span>
</div>
</div>
</div>

View File

@ -37,7 +37,7 @@ import { getConfigurationsData } from '@/utils/componentSettings'
import { toRuntimeParams, toSettingParams } from '@/utils/modelParam'
import EngineSetting from '../Chat/EngineSetting'
import ModelSetting from '../Chat/ModelSetting'
import settingComponentBuilder from '../Chat/ModelSetting/settingComponentBuilder'
import { showRightSideBarAtom } from '../Chat/Sidebar'
@ -313,16 +313,6 @@ const LocalServerScreen = () => {
<DropdownListSidebar />
</div>
{componentDataRuntimeSetting.length !== 0 && (
<div className="mt-6">
<CardSidebar title="Inference Parameters" asChild>
<div className="px-2 py-4">
<ModelSetting />
</div>
</CardSidebar>
</div>
)}
{componentDataEngineSetting.filter(
(x) => x.name === 'prompt_template'
).length !== 0 && (