You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@hamilton.apache.org by "octo-patch (via GitHub)" <gi...@apache.org> on 2026/06/01 22:45:29 UTC

[PR] Upgrade MiniMax default model to MiniMax-M3 in dagworks RAG examples [hamilton]

octo-patch opened a new pull request, #1620:
URL: https://github.com/apache/hamilton/pull/1620

   ## Summary
   
   Updates the default MiniMax model in the two dagworks RAG dataflows
   (`conversational_rag`, `faiss_rag`) from `MiniMax-M2.7` to `MiniMax-M3`.
   
   MiniMax-M3 is the latest generation MiniMax model and replaces M2.7 as the recommended default. It exposes the same OpenAI-compatible Chat Completions interface, so the existing `openai.OpenAI(base_url="https://api.minimax.io/v1", ...)` wiring continues to work without code changes — only the model string constant needs to be bumped.
   
   ## Changes
   
   - `contrib/hamilton/contrib/dagworks/conversational_rag/__init__.py`:
     `model__minimax()` now returns `"MiniMax-M3"`.
   - `contrib/hamilton/contrib/dagworks/faiss_rag/__init__.py`:
     `model__minimax()` now returns `"MiniMax-M3"`.
   - Unit tests refreshed to assert the new constant and pass `"MiniMax-M3"` into mocked chat completion calls.
   - README config tables and the "uses the [MiniMax-...] model" descriptions updated to reference MiniMax-M3.
   
   The `MINIMAX_API_KEY` env var, the OpenAI-compatible base URL, and the `@config.when(provider="minimax")` switch are all unchanged.
   
   ## Test plan
   
   - [x] `pytest hamilton/contrib/dagworks/conversational_rag/test_conversational_rag.py hamilton/contrib/dagworks/faiss_rag/test_faiss_rag.py -k "not Integration"` — 38 passed (covers `TestModelConfig`, `TestMiniMaxProvider`, `TestHamiltonDriverConfig`, including driver build + end-to-end mocked execution under `{"provider": "minimax"}`).
   - [ ] Optional live check: set `MINIMAX_API_KEY` and run the `TestMiniMaxIntegration` classes to hit the real MiniMax-M3 API.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@hamilton.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Upgrade MiniMax default model to MiniMax-M3 in dagworks RAG examples [hamilton]

Posted by "skrawcz (via GitHub)" <gi...@apache.org>.
skrawcz merged PR #1620:
URL: https://github.com/apache/hamilton/pull/1620


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@hamilton.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org