diff --git a/web/src/pages/agent/form/message-form/use-show-response-status.ts b/web/src/pages/agent/form/message-form/use-show-response-status.ts index 4914f5197..f46e418d0 100644 --- a/web/src/pages/agent/form/message-form/use-show-response-status.ts +++ b/web/src/pages/agent/form/message-form/use-show-response-status.ts @@ -16,7 +16,7 @@ export function useShowWebhookResponseStatus(form: UseFormReturn) { const formData: BeginFormSchemaType = getNode(BeginId)?.data.form; return ( formData?.mode === AgentDialogueMode.Webhook && - formData.execution_mode === WebhookExecutionMode.Streaming + formData?.execution_mode === WebhookExecutionMode.Streaming ); }, [getNode]);