Skip to content

Preserve pending drawing requests across initiator follow-ups - #228

Merged
iamwavecut merged 1 commit into
mainfrom
fix/preserve-pending-image-intent
Oct 10, 2026
Merged

iamwavecut merged 1 commit into
mainfrom
fix/preserve-pending-image-intent

Conversation

@iamwavecut

Copy link
Copy Markdown
Owner

A new initiator message could erase an unexecuted explicit drawing request before the first model call. Production evidence showed “thanks” replacing the request and a text response with no drawing call.

Keep the pending tool and original image order when additional messages arrive. A new image intent or an explicit cancellation can replace it. After a tool attempt, updates retain the existing behavior. Apply the same rule to observed history and injected messages.

Validation: the production-shaped regression failed before the fix; workspace tests cover both message paths and cancellation; cargo fmt --all; cargo test --workspace --all-targets (2470 passed, 10 ignored); cargo clippy --workspace --all-targets -- -D warnings.

@github-actions

Copy link
Copy Markdown
Messages
📖 Danger checked 2 changed file(s).

Generated by 🚫 dangerJS against 476d148

@iamwavecut
iamwavecut merged commit d54b8a6 into main Oct 10, 2026
12 checks passed
@iamwavecut
iamwavecut deleted the fix/preserve-pending-image-intent branch October 10, 2026 12:54
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