Merged
Conversation
Add MiniMax as an OpenAI-compatible LLM provider: - Models: MiniMax-M2.7 (default) and MiniMax-M2.7-highspeed - API: https://api.minimax.io/v1 (OpenAI-compatible) - Temperature default: 1.0 (MiniMax requires > 0.0) - Context window: 1,000,000 tokens - Keychain storage for MINIMAX_API_KEY - Full UI: API key field, model picker with refresh, settings section Depends on macOS26/AgentTools#1 for the APIProvider.miniMax enum case.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MiniMax-M2.7, also supportsMiniMax-M2.7-highspeedhttps://api.minimax.io/v1(OpenAI-compatible protocol)com.agent.minimax-api-keyNote: This PR depends on macOS26/AgentTools#1 which adds the
APIProvider.miniMaxenum case to the shared package.Files changed
Agent/Services/LLMProviderSetup.swiftAgent/Services/KeychainService.swiftAgent/AgentViewModel/Core/AgentViewModel.swiftAgent/AgentViewModel/Features/DefaultModels.swiftAgent/AgentViewModel/Features/ModelFetching.swiftfetchMiniMaxModels()+fetchModelsIfNeededcaseAgent/AgentViewModel/Features/ScriptTabs.swiftglobalModelForProvider,apiKeyForProvider,modelDisplayNameAgent/AgentViewModel/Core/Colors.swiftAgent/AgentViewModel/TaskExecution/Setup.swiftAgent/Views/Settings/SettingsView.swiftAgent/Views/Tabs/NewMainTabSheet.swiftAgent/Views/Settings/FallbackChainView.swiftAgent/Views/Output/ThinkingIndicatorView.swiftTest plan