-
v1.6.7-ew-2
Stablereleased this
2026-08-07 10:26:02 +02:00 | 1 commits to 1.6.7-ew2 since this releaseEW Image Edit Parameter Passthrough (Spec 09)
Builds on 1.6.7-ew1 (upstream
transports/v1.6.7).
1 commit: EW/v1/images/editsfull SGLang + vllm-omni compatibility.Problem
parseImageEditFormDataBodyFromRequestsilently dropped 4 fields (type,negative_prompt,num_inference_steps,seed) and ignoredExtraParamsentirely. The transport layer blocked url-only input and truncated multi-value form fields to their first value.Fix
Two independent EW-only gates (
providerName == schemas.EWinimages.go,provider == schemas.EWininference.go). Non-EW path is byte-identical (0 deletions inimages.godiff, regression guard test unchanged).Changes
- images.go: Gate 1 — 4 fields + sorted ExtraParams + dual mask (
mask+mask_imagefor SGLang/vllm-omni compatibility) - inference.go: Gate 2 — url-only input relaxation + ExtraParams
[]stringsweep +mask_imageinbound fallback + context leak fix - Tests: EW 25-element field-order test, OpenAI ExtraParams-ignored regression guard,
prepareImageEditRequestEW + non-EW tests - Harness: EW Postman environment, capability block, image edit entries
- Docs:
specs/09-ew-image-edit-passthrough.md,AGENTS.mdGotcha #20
Verification
Build OK, vet clean, 4 test suites green. 3 oracle reviewers APPROVE (plan compliance, code quality, scope fidelity).
Full diff:
git log 1.6.7-ew1..1.6.7-ew2Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- images.go: Gate 1 — 4 fields + sorted ExtraParams + dual mask (