mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-02 00:25:06 +08:00
### What problem does this PR solve? Feat: Display agent operator call log #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -8,9 +8,16 @@ import { IModalProps } from '@/interfaces/common';
|
||||
import { cn } from '@/lib/utils';
|
||||
import AgentChatBox from './box';
|
||||
|
||||
export function ChatSheet({ visible, hideModal }: IModalProps<any>) {
|
||||
export function ChatSheet({ hideModal }: IModalProps<any>) {
|
||||
return (
|
||||
<Sheet open={visible} modal={false} onOpenChange={hideModal}>
|
||||
<Sheet
|
||||
open
|
||||
modal={false}
|
||||
onOpenChange={(open) => {
|
||||
console.log('🚀 ~ ChatSheet ~ open:', open);
|
||||
hideModal();
|
||||
}}
|
||||
>
|
||||
<SheetTitle className="hidden"></SheetTitle>
|
||||
<SheetContent className={cn('top-20 p-0')}>
|
||||
<SheetHeader>
|
||||
|
||||
Reference in New Issue
Block a user