| | |
| | | const inputsForm = modelConfig.configs.prompt_variables.filter(item => item.type !== 'api').map(item => ({ ...item, label: item.name, variable: item.key })) as InputForm[] |
| | | |
| | | return ( |
| | | <div className='flex h-full flex-col'> |
| | | <div className='flex flex-col h-full'> |
| | | <div |
| | | className={` |
| | | relative mb-3 grow overflow-auto px-6 |
| | | grow mb-3 relative px-6 overflow-auto |
| | | `} |
| | | style={{ height: isChatMode ? 'calc(100% - 60px)' : '100%' }} |
| | | > |
| | |
| | | } |
| | | </div> |
| | | {isChatMode && ( |
| | | <div className='shrink-0 px-6 pb-0'> |
| | | <div className='shrink-0 pb-0 px-6'> |
| | | <ChatInputArea |
| | | showFeatureBar |
| | | showFileUpload={false} |