From d8d58179c62a6da39721103447aeecb9f02e90e8 Mon Sep 17 00:00:00 2001 From: Svrnty Date: Mon, 25 May 2026 06:51:17 -0400 Subject: [PATCH] =?UTF-8?q?fix(flux):=20rename=20Spark=201=20=E2=86=92=20g?= =?UTF-8?q?x10=20in=20docstrings=20+=20error=20messages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/svrnty_vision/routers/flux.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/svrnty_vision/routers/flux.py b/src/svrnty_vision/routers/flux.py index b258f75..0cb5413 100644 --- a/src/svrnty_vision/routers/flux.py +++ b/src/svrnty_vision/routers/flux.py @@ -1,4 +1,4 @@ -"""FLUX image generation — proxies to Spark 1 (ComfyUI HTTP API). +"""FLUX image generation — proxies to gx10-f38f (ComfyUI HTTP API). Ported from BTE's SparkBComfyClient.cs + LocalFluxImageProvider.cs + StopgapFluxWorkflow.cs (Phase 4b). Workflow is either supplied by the caller @@ -64,7 +64,7 @@ def build_stopgap_workflow( ) -> str: """Ported from StopgapFluxWorkflow.Build (Svrnty.Bte.Shared.Recipes). - FLUX.2 stack on Spark 1: flux2_dev_fp8mixed UNET, Mistral-3 CLIP (type "flux2"), + FLUX.2 stack on gx10 (ComfyUI): flux2_dev_fp8mixed UNET, Mistral-3 CLIP (type "flux2"), flux2-vae. KSampler cfg=1.0; distilled guidance via FluxGuidance node. Random seed per call: ComfyUI dedupes identical workflows. """ @@ -201,7 +201,7 @@ async def _download_image( @router.post("/render", response_model=RenderResponse) async def render(req: RenderRequest) -> RenderResponse: - """Render an image via Spark 1 (FLUX.2-dev on ComfyUI). + """Render an image via gx10 (ComfyUI) (FLUX.2-dev on ComfyUI). If `workflow_json` is supplied (e.g. from BTE's IRecipeAssembler), it is POSTed verbatim. Otherwise a stopgap FLUX.2 graph is built from `prompt`. @@ -235,7 +235,7 @@ async def render(req: RenderRequest) -> RenderResponse: except httpx.HTTPError as e: raise HTTPException( status_code=status.HTTP_502_BAD_GATEWAY, - detail=f"Spark 1 (ComfyUI) at {endpoint} unreachable: {type(e).__name__}: {e}", + detail=f"gx10 (ComfyUI) (ComfyUI) at {endpoint} unreachable: {type(e).__name__}: {e}", ) from e duration_ms = int((time.monotonic() - started) * 1000)