Describe the bug
Actual behavior: Once an image attachment is in the event log, every prompt fails with HTTP 400. The only workaround is manually editing events.jsonl to remove the attachment.
Affected version
No response
Steps to reproduce the behavior
- Start a session in Copilot CLI (using deepseek-v4-flash or any non-multimodal model)
- Paste an image (e.g., copy screenshot and paste into prompt)
- The image attachment is saved to events.jsonl
- Submit any prompt — all subsequent prompts fail with 400 deepseek-v4-flash is not a multimodal model
- Session becomes completely unusable; /clear starts a fresh session but the same error persists if the old context is reloaded
Expected behavior
- The model should gracefully reject the image attachment and allow the session to continue with text-only prompts, OR
- The CLI should detect the model cannot handle images and strip the attachment before sending, OR
- There should be a way to rewind past the offending turn
Additional context
Copilot CLI 1.0.61, model deepseek-v4-flash, Linux
Describe the bug
Actual behavior: Once an image attachment is in the event log, every prompt fails with HTTP 400. The only workaround is manually editing events.jsonl to remove the attachment.
Affected version
No response
Steps to reproduce the behavior
Expected behavior
Additional context
Copilot CLI 1.0.61, model deepseek-v4-flash, Linux