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(api): restful to restx migration issue (#24416)
Matri Qif31ddc4b1c85
diff --git a/api/fields/api_based_extension_fields.py b/api/fields/api_based_extension_fields.pyindex dd6fd4a139a..a2dda1dc15a 100644--- a/api/fields/api_based_extension_fields.py+++ b/api/fields/api_based_extension_fields.py@@ -4,7 +4,7 @@ from libs.helper import TimestampFieldclass HiddenAPIKey(fields.Raw):- def output(self, key, obj):+ def output(self, key, obj, **kwargs):api_key = obj.api_key# If the length of the api_key is less than 8 characters, show the first and last charactersif len(api_key) <= 8:diff --git a/api/libs/external_api.py b/api/libs/external_api.pyindex d75b09b0585..715b559abbc 100644--- a/api/libs/external_api.py+++ b/api/libs/external_api.py@@ -77,18 +77,6 @@ class ExternalApi(Api):data = getattr(e, "data", default_data)- error_cls_name = type(e).__name__- if error_cls_name in self.errors:- custom_data = self.errors.get(error_cls_name, {})- custom_data = custom_data.copy()- status_code = custom_data.get("status", 500)-- if "message" in custom_data:- custom_data["message"] = custom_data["message"].format(- message=str(e.description if hasattr(e, "description") else e)- )- data.update(custom_data)-# record the exception in the logs when we have a server error of status code: 500if status_code and status_code >= 500:exc_info: Any = sys.exc_info()diff --git a/api/libs/helper.py b/api/libs/helper.pyindex ccbbcf48223..70986fedd30 100644--- a/api/libs/helper.py+++ b/api/libs/helper.py@@ -57,7 +57,7 @@ def run(script):class AppIconUrlField(fields.Raw):- def output(self, key, obj):+ def output(self, key, obj, **kwargs):if obj is None:return None@@ -72,7 +72,7 @@ class AppIconUrlField(fields.Raw):class AvatarUrlField(fields.Raw):- def output(self, key, obj):+ def output(self, key, obj, **kwargs):if obj is None:return None