From 2c5b3154f33712fc0008165c5b1444e42daed11f Mon Sep 17 00:00:00 2001 From: haesookim Date: Tue, 22 Jul 2025 10:22:03 +0900 Subject: [PATCH 1/3] feat: Extend deploy mode support for chat loading and display - Include 'deploy' mode alongside 'existing' mode for loading state - Render chat content and empty state for 'deploy' mode as well - Trigger chat log loading in 'deploy' mode when interaction data exists These changes enable consistent chat behavior and UI feedback during deployment workflows, aligning deploy mode with existing chat handling. --- src/app/chat/components/ChatArea.tsx | 4 ++-- src/app/chat/components/ChatInterface.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/chat/components/ChatArea.tsx b/src/app/chat/components/ChatArea.tsx index 25007505..e70d145f 100644 --- a/src/app/chat/components/ChatArea.tsx +++ b/src/app/chat/components/ChatArea.tsx @@ -30,7 +30,7 @@ export const ChatArea: React.FC = ({ formatDate, }) => { // 1. 로딩 상태 처리 (existing 모드 전용) - if (mode === 'existing' && loading) { + if (mode === 'existing' || mode === 'deploy' && loading) { return (
@@ -43,7 +43,7 @@ export const ChatArea: React.FC = ({ // 2. 각 모드에 맞는 컨텐츠 렌더링 const renderContent = () => { - if (mode === 'existing') { + if (mode === 'existing' || mode === 'deploy') { return ioLogs.length === 0 ? (

"{workflow.name}" 워크플로우의 이전 대화를 불러올 수 없습니다.

diff --git a/src/app/chat/components/ChatInterface.tsx b/src/app/chat/components/ChatInterface.tsx index 2f7c22c3..81edae1e 100644 --- a/src/app/chat/components/ChatInterface.tsx +++ b/src/app/chat/components/ChatInterface.tsx @@ -59,7 +59,7 @@ const ChatInterface: React.FC = ({ mode, workflow, onBack, h setLoading(false); } }; - if (mode === 'existing' && workflow?.id && existingChatData?.interactionId) { + if (mode === 'existing' || mode === 'deploy' && workflow?.id && existingChatData?.interactionId) { loadChatLogs(); } }, [mode, existingChatData?.interactionId, workflow.id, workflow.name, existingChatData?.workflowName, existingChatData?.workflowId]); From d6c31d4c1c3cef765decba49ce0abdd96617ead8 Mon Sep 17 00:00:00 2001 From: haesookim Date: Tue, 22 Jul 2025 10:26:39 +0900 Subject: [PATCH 2/3] fix: Correct loading state condition in ChatArea component Refine the loading state check to apply only when mode is 'existing'. This prevents unintended loading UI display during 'deploy' mode. --- src/app/chat/components/ChatArea.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/chat/components/ChatArea.tsx b/src/app/chat/components/ChatArea.tsx index e70d145f..5220c3f5 100644 --- a/src/app/chat/components/ChatArea.tsx +++ b/src/app/chat/components/ChatArea.tsx @@ -30,7 +30,7 @@ export const ChatArea: React.FC = ({ formatDate, }) => { // 1. 로딩 상태 처리 (existing 모드 전용) - if (mode === 'existing' || mode === 'deploy' && loading) { + if (mode === 'existing' && loading) { return (
From b39f8bf08b02de2b9347fdfd18d4ab39959935ee Mon Sep 17 00:00:00 2001 From: haesookim Date: Tue, 22 Jul 2025 10:30:13 +0900 Subject: [PATCH 3/3] chore: Stage initial commit with no changes --- src/app/main/components/Settings.tsx | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/app/main/components/Settings.tsx b/src/app/main/components/Settings.tsx index 79a1caad..9e66fe3d 100644 --- a/src/app/main/components/Settings.tsx +++ b/src/app/main/components/Settings.tsx @@ -204,30 +204,6 @@ const Settings: React.FC = () => { } }; - const renderOpenAIConfig = () => { - const config = configs.openai || {}; - return ( - - ); - }; - - const renderVLLMConfig = () => { - const config = configs.vllm || {}; - return ( - - ); - }; - const renderWorkflowConfig = () => { return (