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 && (
<Tooltip>
<TooltipTrigger>
<div className="flex cursor-pointer items-center">
<div className="flex items-center">
<SystemItem
name={`${gpus.length} GPU `}
value={`${calculateUtilization()}% `}

View File

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