Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Oct 02:55

Performance

  • Uploads gather 1 MB before hashing and writing to the spool file, where they handled the
    multipart reader's 4 KB pieces one by one. One core moves about 890 MB/s where it moved 450
    (BenchmarkUploadInput: 464 to 1111 MB/s), and 8 cores about 2000 MB/s.
  • An output ComfyUI cannot size is remembered as 0, so polling a job whose file is gone no
    longer sends a HEAD /view on every read.

Added

  • Value outputs: strings a node returns instead of a file (PreviewAny's text, SaveText's
    text) are listed as text outputs with a signed id, and their content is served from
    ComfyUI's history as text/plain with nosniff. The Python proxy drops them
    (Comfy-Org/comfy-api-proxy#22).

Changed

  • BREAKING CHANGE: a command-line mistake (an unknown command or flag, a bad flag value,
    an unexpected argument) exits 2, as the Python proxy's argparse does. It exited 1.
  • BREAKING CHANGE: sdk.WithBaseURL("") and sdk.WithRouterBaseURL("") count as not
    given and fall back to COMFY_BASE_URL / COMFY_ROUTER_BASE_URL, as an empty WithAPIKey
    already did. An empty base URL used to target Comfy Cloud even with COMFY_BASE_URL set.