Skip to content

Add MiniMax image generation support - #853

Open
octo-patch wants to merge 1 commit into
Agent-Field:mainfrom
octo-patch:octo/20260801-text-to-image-tool-recvqKZVIThJcF
Open

Add MiniMax image generation support#853
octo-patch wants to merge 1 commit into
Agent-Field:mainfrom
octo-patch:octo/20260801-text-to-image-tool-recvqKZVIThJcF

Conversation

@octo-patch

Copy link
Copy Markdown
Contributor

Reason: Add native MiniMax image generation support to the existing media provider pipeline.

Changes:

  • Implement image generation requests with global and China regional endpoint support.
  • Support URL and base64 image responses, optional request fields, and model-prefix routing.
  • Add focused tests for request construction, response parsing, validation, and provider registration.

Checks:

  • git diff --check origin/main...HEAD

@octo-patch
octo-patch requested review from a team and AbirAbbas as code owners August 1, 2026 05:14
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Performance

SDK Memory Δ Latency Δ Tests Status
Python 9.0 KB - 0.31 µs -11%

✓ No regressions detected

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

📊 Coverage gate

Thresholds from .coverage-gate.toml: per-surface ≥ 84%, aggregate ≥ 85%, max per-surface regression ≤ 1.0 pp, max aggregate regression ≤ 0.50 pp.

Surface Current Baseline Δ
control-plane 87.00% 87.40% ↓ -0.40 pp 🟡
sdk-go 92.50% 92.00% ↑ +0.50 pp 🟢
sdk-python 93.82% 93.73% ↑ +0.09 pp 🟢
sdk-typescript 91.05% 90.42% ↑ +0.63 pp 🟢
web-ui 84.76% 84.79% ↓ -0.03 pp 🟡
aggregate 85.59% 85.75% ↓ -0.16 pp 🟡

✅ Gate passed

No surface regressed past the allowed threshold and the aggregate stayed above the floor.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

📐 Patch coverage gate

Threshold: 80% on lines this PR touches vs origin/main (from .coverage-gate.toml:thresholds.min_patch).

Surface Touched lines Patch coverage Status
control-plane 0 ➖ no changes
sdk-go 0 ➖ no changes
sdk-python 0 ➖ no changes
sdk-typescript 0 ➖ no changes
web-ui 0 ➖ no changes

✅ Patch gate passed

Every surface whose lines were touched by this PR has patch coverage at or above the threshold.

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