Skip to content

Add MiniMax image generation fallback#777

Open
vshen009 wants to merge 2 commits intogarrytan:mainfrom
vshen009:vshen009/fork-pr-steps
Open

Add MiniMax image generation fallback#777
vshen009 wants to merge 2 commits intogarrytan:mainfrom
vshen009:vshen009/fork-pr-steps

Conversation

@vshen009
Copy link
Copy Markdown

@vshen009 vshen009 commented Apr 3, 2026

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

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