Skip to content

Add MiniMax email compose provider - #377

Open
octo-patch wants to merge 4 commits into
oblien:mainfrom
octo-patch:octo/20260801-provider-add-recvqiUnW77jwn
Open

Add MiniMax email compose provider#377
octo-patch wants to merge 4 commits into
oblien:mainfrom
octo-patch:octo/20260801-provider-add-recvqiUnW77jwn

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: The registered email compose and subject-generation endpoints need a configurable MiniMax implementation instead of inert stubs.

This change:

  • adds MiniMax-backed compose and subject generation
  • supports MiniMax-M3 and MiniMax-M2.7 through the global and CN OpenAI-compatible endpoints
  • validates and forwards the provider configuration for managed email deployments
  • adds provider request and route coverage

Checks:

  • git diff --check origin/main..HEAD
  • secret scan against the committed upstream diff

@octo-patch

Copy link
Copy Markdown
Author

Updated this PR for the current main branch and pushed commit 9d8558f. MiniMax configuration now flows through the catalog-based webmail installer while retaining both supported models and the global/CN endpoints. I ran the webmail catalog contract test, core catalog validation, MiniMax tests, and API/email TypeScript checks.

This reverts commit 9d8558f, reversing
changes made to b946f5e.
@octo-patch

Copy link
Copy Markdown
Author

Correction: I reverted the broad current-main merge to keep this PR limited to the original MiniMax changes. The focused MiniMax test suite passes (5 tests).

@octo-patch

Copy link
Copy Markdown
Author

Correction complete: I restored the synced base tree so the final PR diff is limited to the 14 MiniMax provider, model, and endpoint files, with no Japanese or Chinese locale changes. The webmail contract (7), core catalog (26), and MiniMax (5) tests pass, along with the API and email-server TypeScript checks.

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