From 08a455f6b34f3383d1c2492753d35f07065732d9 Mon Sep 17 00:00:00 2001 From: wwq Date: Thu, 23 Apr 2026 18:20:05 +0800 Subject: [PATCH] feat(workflow): enhance HTTP request node with curl debugging support --- .../core/workflow/nodes/http_request/config.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/api/app/core/workflow/nodes/http_request/config.py b/api/app/core/workflow/nodes/http_request/config.py index 527a80ff..b854f460 100644 --- a/api/app/core/workflow/nodes/http_request/config.py +++ b/api/app/core/workflow/nodes/http_request/config.py @@ -132,22 +132,11 @@ class HttpErrorDefaultTemplate(BaseModel): description="Default HTTP headers returned on error", ) - files: list = Field( - default_factory=list, - description="Default files list returned on error", - ) - output: str = Field( default="SUCCESS", description="HTTP response body", ) - curl: str = Field( - default="", - description="Default curl command returned on error", - ) - - class HttpErrorHandleConfig(BaseModel): method: HttpErrorHandle = Field( default=HttpErrorHandle.NONE, @@ -282,11 +271,6 @@ class HttpRequestNodeOutput(BaseModel): description="HTTP response body", ) - curl: str = Field( - default="", - description="Equivalent curl command for the HTTP request", - ) - # files: list[File] = Field( # ... # )