Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: Default value for input variable is null when starting new conversations on the web app (#24709)
17hz5a64f694565e
diff --git a/web/app/components/base/chat/chat-with-history/hooks.tsx b/web/app/components/base/chat/chat-with-history/hooks.tsxindex 714e38b21ed..e87c8ddcdfc 100644--- a/web/app/components/base/chat/chat-with-history/hooks.tsx+++ b/web/app/components/base/chat/chat-with-history/hooks.tsx@@ -407,9 +407,13 @@ export const useChatWithHistory = (installedAppInfo?: InstalledApp) => {currentChatInstanceRef.current.handleStop()setShowNewConversationItemInList(true)handleChangeConversation('')- handleNewConversationInputsChange(await getRawInputsFromUrlParams())+ const conversationInputs: Record<string, any> = {}+ inputsForms.forEach((item: any) => {+ conversationInputs[item.variable] = item.default || null+ })+ handleNewConversationInputsChange(conversationInputs)setClearChatList(true)- }, [handleChangeConversation, setShowNewConversationItemInList, handleNewConversationInputsChange, setClearChatList])+ }, [handleChangeConversation, setShowNewConversationItemInList, handleNewConversationInputsChange, setClearChatList, inputsForms])const handleUpdateConversationList = useCallback(() => {mutateAppConversationData()mutateAppPinnedConversationData()