mirror of
https://github.com/chenyme/grok2api.git
synced 2026-12-05 16:02:12 +00:00
When n=1, the stream processor locks onto the first image received as target. If a different image gets its final version first, completed >= n breaks the WebSocket loop, but the processor saves the target's medium-quality data as "final". Now checks if the target actually has is_final=True before selecting it. If not, falls back to the highest quality image available. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>