mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 10:35:55 +08:00
fix completion
This commit is contained in:
parent
094a1a1458
commit
112aaf6e1b
@ -451,6 +451,7 @@ const Debug: FC<IDebug> = ({
|
|||||||
inputs={inputs}
|
inputs={inputs}
|
||||||
visionConfig={{
|
visionConfig={{
|
||||||
...features.file! as VisionSettings,
|
...features.file! as VisionSettings,
|
||||||
|
transfer_methods: features.file!.allowed_file_upload_methods || [],
|
||||||
image_file_size_limit: fileUploadConfigResponse?.image_file_size_limit,
|
image_file_size_limit: fileUploadConfigResponse?.image_file_size_limit,
|
||||||
}}
|
}}
|
||||||
onVisionFilesChange={setCompletionFiles}
|
onVisionFilesChange={setCompletionFiles}
|
||||||
|
@ -908,7 +908,7 @@ const Configuration: FC = () => {
|
|||||||
<Config />
|
<Config />
|
||||||
</div>
|
</div>
|
||||||
{!isMobile && <div className="relative flex flex-col w-1/2 h-full overflow-y-auto grow " style={{ borderColor: 'rgba(0, 0, 0, 0.02)' }}>
|
{!isMobile && <div className="relative flex flex-col w-1/2 h-full overflow-y-auto grow " style={{ borderColor: 'rgba(0, 0, 0, 0.02)' }}>
|
||||||
<div className='grow flex flex-col h-0 border-t-[0.5px] border-l-[0.5px] rounded-tl-2xl border-components-panel-border bg-chatbot-bg '>
|
<div className='grow flex flex-col border-t-[0.5px] border-l-[0.5px] rounded-tl-2xl border-components-panel-border bg-chatbot-bg '>
|
||||||
<Debug
|
<Debug
|
||||||
isAPIKeySet={isAPIKeySet}
|
isAPIKeySet={isAPIKeySet}
|
||||||
onSetting={() => setShowAccountSettingModal({ payload: 'provider' })}
|
onSetting={() => setShowAccountSettingModal({ payload: 'provider' })}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user