Skip to content

[FEATURE] Add MiniMax to the provider enum #42

Description

Summary

inference-gateway/schemas added MiniMax to the provider enum in openapi.yaml (inference-gateway/schemas#62, which closes inference-gateway/schemas#61). This Python SDK is generated from schemas, so it must be regenerated to expose the new minimax provider value to consumers.

MiniMax is an OpenAI-compatible provider (id minimax, bearer auth, base URL https://api.minimax.io/v1, supports_vision: true).

Acceptance Criteria

  • Regenerate the SDK models from the updated schemas openapi.yaml.
  • minimax is present in the generated provider enum.
  • Package builds and type-checks pass, and the change is released per the repo's normal flow.

Source: inference-gateway/schemas#62 (closes inference-gateway/schemas#61)

Activity

  1. edenreich commented on Jun 12, 2026

    @edenreich
    Contributor

    @claude Can you work on this? use /maintainer

  2. inference-gateway-maintainer commented on Jun 12, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 12m 7s —— View job • feat/issue-42-20260612-1009 • [Create PR ➔](https://github.com/inference-gateway/python-sdk/compare/main...feat/issue-42-20260612-1009?quick_pull=1&title=Issue%20%2342%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%2342%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Task: Add MiniMax to the provider enum


    Summary

    Exposed the OpenAI-compatible MiniMax provider (id minimax, bearer auth, https://api.minimax.io/v1, supports_vision: true), added upstream in inference-gateway/schemas#62:

    File Change
    openapi.yaml minimax added to the Provider enum, plus its x-provider-configs block and MINIMAX_API_URL / MINIMAX_API_KEY env vars — matching upstream byte-for-byte
    inference_gateway/models.py minimax added to the generated Provider enum (both Literal blocks), in spec order (after mistral, before moonshot)
    README.md MiniMax listed under "Supported Providers"

    Focused sync. The upstream spec has drifted beyond minimax since this copy was last vendored (timestamp 2026-05-07). I synced only the minimax additions to keep this PR on-issue. Deferred upstream changes (streaming oneOf, content-required on the stream delta, moonshot vision flip, whitespace) belong in a follow-up "sync vendored openapi.yaml with schemas" task — noted in the PR body.

    Codegen / validation caveats. datamodel-codegen and pip install are blocked in this CI sandbox, so I applied the Provider enum delta directly (identical to generator output since the spec was updated in lockstep — task generate stays idempotent) and syntax-checked models.py via ast.parse. The new enum lines match the existing black formatting, so the CI checks (black --check ., pytest tests/) should pass; the full suite runs in CI on the PR. If you'd like, re-run with datamodel-codegen allowed for a literal regeneration.

    Docs: the in-repo README is updated. A broader [DOCS] ticket for inference-gateway/docs was not auto-filed (per the cross-repo policy of not filing without an explicit ask) — happy to draft one if wanted.

    Pull request: #43 — Closes #42
    · branch feat/issue-42-20260612-1009

  3. moved this from Todo to In progress in 2026on Jun 12, 2026
  4. moved this from In progress to QA in 2026on Jun 12, 2026
  5. moved this from QA to Done in 2026on Jun 12, 2026
  6. inference-gateway-releaser commented on Jul 18, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.8.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions