Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
IMPORTANT: After completing your review, you MUST post your findings as a PR comment.
Steps to post: 1) Write review to /tmp/review.md using the Write tool, 2) Run: gh pr comment $PR_NUMBER --body-file /tmp/review.md
Get the PR number first via: gh pr list --state open --json number --jq '.[0].number'
claude_args: '--model MiniMax-M2.5 --max-turns 20 --allowedTools "Bash(git:*),Bash(gh:*),Read,Glob,Grep,WebFetch,Write"'
claude_args: '--model MiniMax-M3 --max-turns 20 --allowedTools "Bash(git:*),Bash(gh:*),Read,Glob,Grep,WebFetch,Write"'

interactive:
if: |
Expand All @@ -68,4 +68,4 @@ jobs:
ANTHROPIC_BASE_URL: https://api.minimax.io/anthropic
with:
anthropic_api_key: ${{ secrets.MINIMAX_API_KEY }}
claude_args: '--model MiniMax-M2.5 --max-turns 20 --allowedTools "Bash(git:*),Bash(gh:*),Read,Glob,Grep,WebFetch,Edit,Write"'
claude_args: '--model MiniMax-M3 --max-turns 20 --allowedTools "Bash(git:*),Bash(gh:*),Read,Glob,Grep,WebFetch,Edit,Write"'
6 changes: 3 additions & 3 deletions apps/webuiapps/src/lib/__tests__/llmClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ describe('getDefaultProviderConfig()', () => {
const cfg = getDefaultProviderConfig('minimax');
expect(cfg.provider).toBe('minimax');
expect(cfg.baseUrl).toBe('https://api.minimax.io/anthropic/v1');
expect(cfg.model).toBe('MiniMax-M2.5');
expect(cfg.model).toBe('MiniMax-M3');
});

it('returns correct defaults for z.ai', () => {
Expand All @@ -153,7 +153,7 @@ describe('getDefaultProviderConfig()', () => {
const cfg = getDefaultProviderConfig('openrouter');
expect(cfg.provider).toBe('openrouter');
expect(cfg.baseUrl).toBe('https://openrouter.ai/api/v1');
expect(cfg.model).toBe('minimax/MiniMax-M2.5');
expect(cfg.model).toBe('minimax/MiniMax-M3');
});

it('returns consistent values for the same provider', () => {
Expand Down Expand Up @@ -560,7 +560,7 @@ respond_to_user
provider: 'minimax',
apiKey: 'minimax-key',
baseUrl: 'https://api.minimax.io/anthropic',
model: 'MiniMax-M2.5',
model: 'MiniMax-M3',
};
const mockFetch = vi.fn().mockResolvedValueOnce(makeAnthropicResponse('MiniMax response'));
globalThis.fetch = mockFetch;
Expand Down
14 changes: 4 additions & 10 deletions apps/webuiapps/src/lib/llmModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,11 @@ export const LLM_PROVIDER_CONFIGS: Record<LLMProvider, ProviderModelConfig> = {
minimax: {
displayName: 'MiniMax',
baseUrl: 'https://api.minimax.io/anthropic/v1',
defaultModel: 'MiniMax-M2.5',
defaultModel: 'MiniMax-M3',
models: [
{ id: 'MiniMax-M2.5', name: 'MiniMax M2.5', category: 'flagship' },
{ id: 'MiniMax-M2.5-highspeed', name: 'MiniMax M2.5 Highspeed', category: 'general' },
{ id: 'MiniMax-M2.1', name: 'MiniMax M2.1', category: 'coding' },
{ id: 'MiniMax-M2.1-highspeed', name: 'MiniMax M2.1 Highspeed', category: 'coding' },
{ id: 'MiniMax-M3', name: 'MiniMax M3', category: 'flagship' },
{ id: 'MiniMax-M2.7', name: 'MiniMax M2.7', category: 'flagship' },
{ id: 'MiniMax-M2.7-highspeed', name: 'MiniMax M2.7 Highspeed', category: 'general' },
{ id: 'MiniMax-M2', name: 'MiniMax M2', category: 'general' },
],
},

Expand Down Expand Up @@ -135,13 +131,11 @@ export const LLM_PROVIDER_CONFIGS: Record<LLMProvider, ProviderModelConfig> = {
openrouter: {
displayName: 'OpenRouter',
baseUrl: 'https://openrouter.ai/api/v1',
defaultModel: 'minimax/MiniMax-M2.5',
defaultModel: 'minimax/MiniMax-M3',
models: [
{ id: 'minimax/MiniMax-M2.5', name: 'MiniMax M2.5', category: 'flagship' },
{ id: 'minimax/MiniMax-M2.5-highspeed', name: 'MiniMax M2.5 Highspeed', category: 'general' },
{ id: 'minimax/MiniMax-M3', name: 'MiniMax M3', category: 'flagship' },
{ id: 'minimax/MiniMax-M2.7', name: 'MiniMax M2.7', category: 'flagship' },
{ id: 'minimax/MiniMax-M2.7-highspeed', name: 'MiniMax M2.7 Highspeed', category: 'general' },
{ id: 'minimax/MiniMax-M2.1', name: 'MiniMax M2.1', category: 'coding' },
{ id: 'anthropic/claude-sonnet-4-6', name: 'Claude Sonnet 4.6', category: 'general' },
{ id: 'openai/gpt-5.4', name: 'GPT-5.4', category: 'flagship' },
{ id: 'deepseek/deepseek-chat', name: 'DeepSeek Chat', category: 'general' },
Expand Down