Skip to content

feat(tools): add native MiniMax image generation - #960

Open
octo-patch wants to merge 1 commit into
dataelement:mainfrom
octo-patch:octo/20260812-text-to-image-tool-recvrXOdlBrrdV
Open

feat(tools): add native MiniMax image generation#960
octo-patch wants to merge 1 commit into
dataelement:mainfrom
octo-patch:octo/20260812-text-to-image-tool-recvrXOdlBrrdV

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: MiniMax image generation is missing from the native image tool registry, preventing agents from using its regional API endpoints and response formats.

Summary

  • Add a built-in MiniMax image generation tool with the target models and global and China endpoints.
  • Route requests through the typed image boundary, map supported sizes to native aspect ratios, and parse base64 or URL receipts.
  • Extend local readiness and durable reconciliation coverage for the new tool.

Checks

  • uv run --extra dev ruff check --isolated --select E9,F63,F7,F82 app/services/agent_tools.py app/services/agent_runtime/tool_execution.py app/services/builtin_tool_definitions.py tests/test_agent_tools_typed_image_outcomes_v2.py tests/test_agent_tools_deploy_contracts.py
  • uv run --extra dev pytest -q tests/test_agent_tools_typed_image_outcomes_v2.py tests/test_agent_tools_deploy_contracts.py tests/test_builtin_tool_contracts.py (146 passed)
  • bash scripts/arch-guard.sh
  • git diff --check

Checklist

  • Tested locally
  • No unrelated changes included

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