The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
fix bug (#7894)
Christian Byrnec6c19e99803a
diff --git a/comfy_api_nodes/apis/client.py b/comfy_api_nodes/apis/client.pyindex 384e559dc..d3cd9ad2f 100644--- a/comfy_api_nodes/apis/client.py+++ b/comfy_api_nodes/apis/client.py@@ -297,6 +297,10 @@ class SynchronousOperation(Generic[T, R]):# Convert request model to dict, but use None for EmptyRequestrequest_dict = None if isinstance(self.request, EmptyRequest) else self.request.model_dump(exclude_none=True)+ if request_dict:+ for key, value in request_dict.items():+ if isinstance(value, Enum):+ request_dict[key] = value.value# Debug log for requestlogging.debug(f"[DEBUG] API Request: {self.endpoint.method.value} {self.endpoint.path}")