update pay function
This commit is contained in:
@@ -10,17 +10,14 @@ import {
|
|||||||
Input,
|
Input,
|
||||||
Avatar,
|
Avatar,
|
||||||
Chip,
|
Chip,
|
||||||
Divider,
|
Separator,
|
||||||
Spinner,
|
Spinner,
|
||||||
Tooltip,
|
Tooltip,
|
||||||
Badge,
|
|
||||||
Checkbox,
|
Checkbox,
|
||||||
CheckboxGroup,
|
CheckboxGroup,
|
||||||
Tabs,
|
Tabs,
|
||||||
Tab,
|
|
||||||
Kbd,
|
Kbd,
|
||||||
Accordion,
|
Accordion,
|
||||||
AccordionItem,
|
|
||||||
} from '@heroui/react';
|
} from '@heroui/react';
|
||||||
import { useAuth } from '@contexts/AuthContext';
|
import { useAuth } from '@contexts/AuthContext';
|
||||||
import { logger } from '@utils/logger';
|
import { logger } from '@utils/logger';
|
||||||
@@ -1159,14 +1156,11 @@ const AgentChat = () => {
|
|||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<Code className="w-4 h-4" />
|
<Code className="w-4 h-4" />
|
||||||
<span>工具</span>
|
<span>工具</span>
|
||||||
<Badge
|
{selectedTools.length > 0 && (
|
||||||
content={selectedTools.length}
|
<span className="inline-flex items-center justify-center w-5 h-5 text-xs font-semibold text-white bg-blue-500 rounded-full">
|
||||||
color="primary"
|
{selectedTools.length}
|
||||||
size="sm"
|
</span>
|
||||||
classNames={{
|
)}
|
||||||
badge: 'bg-blue-500',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user