diff --git a/src/pages/benchmark/components/summary/instance.tsx b/src/pages/benchmark/components/summary/instance.tsx index 55d5d9cd..d4b7c55f 100644 --- a/src/pages/benchmark/components/summary/instance.tsx +++ b/src/pages/benchmark/components/summary/instance.tsx @@ -84,13 +84,13 @@ const Instance: React.FC = () => { }), children: renderParams(instanceData?.backend_parameters || []) }, - // { - // key: '1-1', - // label: intl.formatMessage({ - // id: 'models.instance.params.autoInjected' - // }), - // children: renderParams(instanceData?.injected_backend_parameters || []) - // }, + { + key: '1-1', + label: intl.formatMessage({ + id: 'models.instance.params.autoInjected' + }), + children: renderParams(instanceData?.injected_backend_parameters || []) + }, { key: '3', label: intl.formatMessage({ id: 'benchmark.detail.kvCache' }), diff --git a/src/pages/llmodels/components/instance-cells/injected-params-cell.tsx b/src/pages/llmodels/components/instance-cells/injected-params-cell.tsx index 50358076..f64ea286 100644 --- a/src/pages/llmodels/components/instance-cells/injected-params-cell.tsx +++ b/src/pages/llmodels/components/instance-cells/injected-params-cell.tsx @@ -1,5 +1,5 @@ import { InfoCircleOutlined } from '@ant-design/icons'; -import { CopyButton, OverlayScroller, ThemeTag } from '@gpustack/core-ui'; +import { OverlayScroller, ThemeTag } from '@gpustack/core-ui'; import { useIntl } from '@umijs/max'; import { Divider, Flex, Tooltip } from 'antd'; import React from 'react'; @@ -95,7 +95,7 @@ const InjectedParamsCell: React.FC = ({ if (!injectedBackendParameters.length) { return null; } - return null; + // return null; return ( = ({ id: 'models.form.backend_parameters' })} -