fix: tools section should be expanded by default (#2110)

This commit is contained in:
Louis 2024-02-21 08:45:37 +07:00 committed by GitHub
parent 939f7c0f77
commit cffc382caf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ const BottomBar = () => {
{gpus.length > 0 && ( {gpus.length > 0 && (
<Tooltip> <Tooltip>
<TooltipTrigger> <TooltipTrigger>
<div className="flex cursor-pointer items-center"> <div className="flex items-center">
<SystemItem <SystemItem
name={`${gpus.length} GPU `} name={`${gpus.length} GPU `}
value={`${calculateUtilization()}% `} value={`${calculateUtilization()}% `}

View File

@ -197,7 +197,7 @@ const Sidebar: React.FC = () => {
<div> <div>
{activeThread?.assistants[0]?.tools && {activeThread?.assistants[0]?.tools &&
componentDataAssistantSetting.length > 0 && ( componentDataAssistantSetting.length > 0 && (
<CardSidebar title="Tools"> <CardSidebar title="Tools" isShow={true}>
<div className="px-2 pt-4"> <div className="px-2 pt-4">
<div className="mb-2"> <div className="mb-2">
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">