Skip to content

fix: resolve merge conflicts for PR #94 and complete SKILL.md docs#113

Merged
RyanLee-Dev merged 3 commits intomainfrom
fix/image-download-https
Apr 24, 2026
Merged

fix: resolve merge conflicts for PR #94 and complete SKILL.md docs#113
RyanLee-Dev merged 3 commits intomainfrom
fix/image-download-https

Conversation

@RyanLee-Dev
Copy link
Copy Markdown
Collaborator

Summary

Context

PR #94 by @nguyenngothuong fixes image download failures caused by MiniMax API returning http:// URLs while Alibaba Cloud OSS CDN requires https://. See #93 for details.

Test plan

  • mmx image generate --prompt "test" --out-dir ./out/ works with HTTPS-forced download
  • mmx image generate --prompt "test" --response-format base64 --out-dir ./out/ saves base64 images correctly
  • Overwrite warning displays when output file already exists
  • npx tsc --noEmit passes

nguyenngothuong and others added 3 commits April 12, 2026 15:29
- Auto-convert HTTP to HTTPS in downloadFile() to work around
  Alibaba Cloud OSS CDN blocking HTTP traffic from certain regions
- Add --response-format <url|base64> flag for image generation
- Add retry logic (3 attempts, exponential backoff) for download failures
- Fixes image download failures with 'Network request failed' error

Related: MiniMax API returns http:// URLs but OSS CDN requires https://
Resolve conflict in src/commands/image/generate.ts: keep both the
base64 response format support (PR #94) and the file overwrite
warning (main).
@RyanLee-Dev RyanLee-Dev merged commit c6e70f0 into main Apr 24, 2026
2 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.

2 participants