feat: add MiniMax as alternative LLM provider#74
Open
octo-patch wants to merge 1 commit intoelder-plinius:mainfrom
Open
feat: add MiniMax as alternative LLM provider#74octo-patch wants to merge 1 commit intoelder-plinius:mainfrom
octo-patch wants to merge 1 commit intoelder-plinius:mainfrom
Conversation
Add MiniMax (M2.7, M2.7-highspeed, M2.5, M2.5-highspeed) as a direct LLM provider alongside OpenRouter. Users can now choose between OpenRouter (200+ models via router) or MiniMax (direct API access) in Settings > LLM Provider. Changes: - MiniMaxClient: OpenAI-compatible chat client with tool-calling, temperature clamping (0,1], and thinking-tag stripping - LlmProvider enum for provider selection - SettingsStore: MiniMax API key + provider preference persistence - VesperAgent: routes chat() to selected provider, keeps OpenRouter for vision preprocessing and command parsing - Settings UI: provider dropdown, conditional API key field, dynamic model list per provider - 28 unit tests + 3 integration tests - README: MiniMax models table, setup instructions, updated Quick Start
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
execute_command— all 32 Flipper actions work<think>tag stripping for MiniMax modelsChanges
LlmProvider.ktMiniMaxClient.ktOpenRouterClient.ktVesperAgent.ktSettingsStore.ktSettingsScreen.ktSettingsViewModel.ktREADME.mdTest plan
MINIMAX_API_KEYenv var, auto-skipped otherwise)10 files changed, 1,458 additions, 62 deletions