chore: allow switch backend between vllm and mindie

This commit is contained in:
jialin
2025-04-14 19:29:55 +08:00
parent b108d4e287
commit 3d32ec7210
7 changed files with 53 additions and 22 deletions
+2 -2
View File
@@ -8,7 +8,6 @@ const Wrapper = styled.div<{ $maxHeight?: number }>`
typeof $maxHeight === 'number' ? `${$maxHeight}px` : $maxHeight};
overflow-y: auto;
width: 100%;
padding-inline: 8px;
`;
const OverlayScroller: React.FC<any> = ({
@@ -38,6 +37,8 @@ const OverlayScroller: React.FC<any> = ({
hidden={false}
as="div"
style={{
paddingInlineStart: 8,
paddingInlineEnd: 8,
...style
}}
>
@@ -51,7 +52,6 @@ export const TooltipOverlayScroller: React.FC<
> = ({ children, maxHeight, title, ...rest }) => {
return (
<Tooltip
destroyTooltipOnHide
overlayInnerStyle={{
width: 'max-content',
maxWidth: 300,
+7 -1
View File
@@ -146,7 +146,13 @@ export const FilterBar: React.FC<FilterBarProps> = (props) => {
</Button>
</Space>
);
}, [actionItems, actionType, rowSelection?.selectedRowKeys, intl]);
}, [
actionItems,
actionType,
rowSelection?.selectedRowKeys,
handleClickPrimary,
intl
]);
return (
<PageTools