mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 01:54:04 +00:00
perf: variabel replace;Feat: prompt optimizer code (#5453)
* feat: add prompt optimizer (#5444) * feat: add prompt optimizer * fix * perf: variabel replace * perf: prompt optimizer code * feat: init charts shell * perf: user error remove --------- Co-authored-by: heheer <heheer@sealos.io>
This commit is contained in:
@@ -57,7 +57,7 @@ const MyModal = ({
|
||||
closeOnOverlayClick={closeOnOverlayClick}
|
||||
returnFocusOnClose={false}
|
||||
>
|
||||
<ModalOverlay />
|
||||
<ModalOverlay zIndex={props.zIndex} />
|
||||
<ModalContent
|
||||
w={w}
|
||||
minW={['90vw', '400px']}
|
||||
@@ -65,6 +65,9 @@ const MyModal = ({
|
||||
position={'relative'}
|
||||
maxH={'85vh'}
|
||||
boxShadow={'7'}
|
||||
containerProps={{
|
||||
zIndex: props.zIndex
|
||||
}}
|
||||
{...props}
|
||||
>
|
||||
{!title && onClose && showCloseButton && <ModalCloseButton zIndex={1} />}
|
||||
|
Reference in New Issue
Block a user