Repository navigation
PS5SD 0.9.15
PS5SD 0.9.15 starts on 1.0's promise of an API that programs can rely on: one shape for every error, and the progress of a run as server-sent events.
One shape for every error
- Every answer of 400 and more, on every route (A1111, OpenAI, sd-server's own and PS5SD's), is now
{"error": {"code": "...", "message": "..."}}, the shape a failed job already had. codeis for programs:out_of_memory,queue_full,standby,switching,model_not_found,in_use,unauthorized,rate_limitedand more. API.md lists them all.- A body that is not JSON is now
400 invalid_requestinstead of500. - For clients: an error's
erroris an object now, not a text. The fieldsauth_requiredandstandbyare gone; they are the codesunauthorizedandstandby.
Progress as server-sent events
GET /ps5sd/v1/eventsstreams the queue (jobs), every step (progress, with the time left) and each job's end (job), with a ping every 15 s so a proxy keeps it open.?job=<id>follows one job and ends after it.- At most four streams are open at once. A model switch ends them without waiting for them.
- API.md, Events has the details.
The web UI on the stream
- The page reads the queue from the stream and asks for its job only when the stream says it moved, so an idle Create tab sends no requests.
- Without the stream (an older console, a browser without
EventSource, a fifth tab) it polls as before.
Install
Install from the homebrew store, or unpack PPSA99576.zip into /data/homebrew/ on the console and let ShadowMountPlus scan.
Next: see ROADMAP.md.