mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 15:06:50 +08:00
Fix: Improve Agent templates functionality and fix some UI style issues (#9129)
### What problem does this PR solve? Fix: Improve Agent templates functionality and fix some UI style issues #3221 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -14,12 +14,13 @@ type LogSheetProps = IModalProps<any> &
|
||||
Pick<
|
||||
ReturnType<typeof useCacheChatLog>,
|
||||
'currentEventListWithoutMessageById' | 'currentMessageId'
|
||||
>;
|
||||
> & { sendLoading: boolean };
|
||||
|
||||
export function LogSheet({
|
||||
hideModal,
|
||||
currentEventListWithoutMessageById,
|
||||
currentMessageId,
|
||||
sendLoading,
|
||||
}: LogSheetProps) {
|
||||
return (
|
||||
<Sheet open onOpenChange={hideModal} modal={false}>
|
||||
@ -36,6 +37,7 @@ export function LogSheet({
|
||||
currentMessageId,
|
||||
)}
|
||||
currentMessageId={currentMessageId}
|
||||
sendLoading={sendLoading}
|
||||
/>
|
||||
</section>
|
||||
</SheetContent>
|
||||
|
||||
Reference in New Issue
Block a user