Skip to content

Fix async image concurrent results and Chat Completions stream completion - #296

Merged
hopelynd merged 2 commits into
mainfrom
fix/image-async-results-and-chat-stream
Nov 4, 2026
Merged

hopelynd merged 2 commits into
mainfrom
fix/image-async-results-and-chat-stream

Conversation

@hopelynd

@hopelynd hopelynd commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Collect every image from concurrent async generate/edit tasks by preferring per-task choices and falling back to results, instead of keeping only the first non-empty task
  • Validate Chat Completions stream completion via [DONE] or finish_reason, and aggregate streamed tool_calls into structured JSON results

Prefer choices per task, then fall back to results, so concurrent waits no longer keep only the first non-empty task.
@hopelynd
hopelynd merged commit 46f702b into main Nov 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant