@@ -37,7 +37,7 @@ const GlobalDocumentFileModal: React.FC = () => {
3737
3838 const [ chunkSize , setChunkSize ] = useState ( 4000 ) ;
3939 const [ overlapSize , setOverlapSize ] = useState ( 1000 ) ;
40- const [ processType , setProcessType ] = useState < string > ( 'default ' ) ;
40+ const [ processType , setProcessType ] = useState < string > ( 'text ' ) ;
4141 const [ uploadProgress , setUploadProgress ] = useState < UploadProgress [ ] > ( [ ] ) ;
4242 const [ loading , setLoading ] = useState ( false ) ;
4343 const [ error , setError ] = useState < string | null > ( null ) ;
@@ -65,7 +65,7 @@ const GlobalDocumentFileModal: React.FC = () => {
6565 setUploadProgress ( parsed . uploadProgress ) ;
6666 setChunkSize ( parsed . chunkSize || 4000 ) ;
6767 setOverlapSize ( parsed . overlapSize || 1000 ) ;
68- setProcessType ( parsed . processType || 'default ' ) ;
68+ setProcessType ( parsed . processType || 'text ' ) ;
6969 setIsMinimized ( parsed . isMinimized || false ) ;
7070
7171 // 업로드 중인 항목이 있으면 loading 상태
@@ -144,7 +144,7 @@ const GlobalDocumentFileModal: React.FC = () => {
144144 const resetModal = ( ) => {
145145 setChunkSize ( 4000 ) ;
146146 setOverlapSize ( 1000 ) ;
147- setProcessType ( 'default ' ) ;
147+ setProcessType ( 'text ' ) ;
148148 setUploadProgress ( [ ] ) ;
149149 setError ( null ) ;
150150 setIsMinimized ( false ) ;
@@ -557,7 +557,6 @@ const GlobalDocumentFileModal: React.FC = () => {
557557 onChange = { ( e ) => setProcessType ( e . target . value ) }
558558 className = { styles . selectInput }
559559 >
560- < option value = "default" > 자동 선택 (기본값)</ option >
561560 < option value = "text" > 텍스트 추출 (PDF/DOCX 공통)</ option >
562561 < option value = "ocr" > OCR 처리 (PDF/DOCX 공통)</ option >
563562 < option value = "html" > HTML 변환 (DOCX 전용)</ option >
0 commit comments