/v1/images/generations sent to a routing:"order" group only ever drew on
the member the model resolved to; a 502 from it went straight back to the
caller even though the group had other members that could draw.
draw.go: when the asked model names a group (group/<id>, or a bare id
whose group holds the resolved member), drawingTries lists the members in
planGroup's order and the request moves on with chat's retryable rule
(5xx, 429, auth and quota refusals). A request the caller got wrong
(plain 400) still stops at once. Pause rules and a gateway key's model
holds apply per group as in chat. Drawing still rests no account. The
recent call records the skipped members as Fallback, and the final error
says "(tried first: ...)", as embeddings do.
video.go: /v1/videos had the same single-member path. Its start logic
moved into startVideo, and videosCreate walks the same tries; a member
that can't make videos moves on too.
Run: TestImageGroupMovesOnToTheNextMember and
TestVideoGroupMovesOnToTheNextMember go red (502) with either loop forced
to stop after the first member, and the image test goes red with the
retryable check removed. go test -tags nogui ./... (full suite), gofmt -l,
go vet for darwin, GOOS=linux and GOOS=windows on internal/gateway.
Not tried against the reporter's real providers.