Skip to content

Add MiniMax image generation fallback - #777

Closed
vshen009 wants to merge 2 commits into
garrytan:mainfrom
vshen009:vshen009/fork-pr-steps
Closed

vshen009 wants to merge 2 commits into
garrytan:mainfrom
vshen009:vshen009/fork-pr-steps

Conversation

@vshen009

@vshen009 vshen009 commented Apr 3, 2026

Copy link
Copy Markdown

Summary

  • add provider-aware image size normalization so MiniMax and OpenAI can share the same generate flow
  • probe OpenAI first and fall back cleanly to MiniMax when available
  • add a focused regression test for provider size conversion defaults and mappings

Testing

  • bun run build
  • bun test
  • bun test test/design-generate.test.ts

@time-attack

Copy link
Copy Markdown
Contributor

@16francej — recommend closing this PR as superseded by #990, which owns provider, privacy, capability, and spending policy. This branch may trigger an unexpected paid request and silently change image providers after failure. Please credit the contributor and preserve MiniMax size mapping, but not paid probing or silent switching.

@capy-ai

capy-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for this. Image-provider support is tracked in #990, and adding a new provider means sending screenshots to a new third party, so it needs a consent design first. Closing.

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