Commit 746a26f
authored
refactor(minimax): update MiniMax model configurations (#12910)
### What this PR does
Before this PR:
- MiniMax provider used outdated abab model series (abab6.5s, abab6.5g,
abab6.5t, abab5.5s, minimax-text-01)
- Some models had inconsistent naming
After this PR:
- Updated to new M2.x series models (MiniMax-M2.5,
MiniMax-M2.5-lightning, MiniMax-M2.1, MiniMax-M2.1-lightning,
MiniMax-M2, M2-her)
- Consistent naming and grouping for all models
- Added M2-her model logo mapping
### Why we need it and why it was done in this way
MiniMax has updated their model lineup, and the old abab series models
are outdated. This PR updates the default model configurations to
reflect the current available models.
The following tradeoffs were made:
- None
The following alternatives were considered:
- None
### Breaking changes
None. Existing users will have their MiniMax models automatically
migrated to the new configuration via migration 198.
### Special notes for your reviewer
The migration ensures existing users get the updated model list without
losing their provider settings.
### Checklist
- [x] PR: The PR description is expressive enough and will help future
contributors
- [x] Code: Write code that humans can understand and Keep it simple
- [x] Refactor: You have left the code cleaner than you found it (Boy
Scout Rule)
- [x] Upgrade: Impact of this change on upgrade flows was considered and
addressed if required
- [ ] Documentation: Not required for this change
### Release note
```release-note
Updated MiniMax model configurations to use the latest M2.x series models
```1 parent fc7e374 commit 746a26f
File tree
5 files changed
+34
-31
lines changed- src/renderer/src
- config
- models
- store
5 files changed
+34
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
| 955 | + | |
956 | 956 | | |
957 | | - | |
958 | | - | |
| 957 | + | |
| 958 | + | |
959 | 959 | | |
960 | 960 | | |
961 | | - | |
| 961 | + | |
962 | 962 | | |
963 | | - | |
964 | | - | |
| 963 | + | |
| 964 | + | |
965 | 965 | | |
966 | 966 | | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
| 967 | + | |
974 | 968 | | |
975 | | - | |
976 | | - | |
| 969 | + | |
| 970 | + | |
977 | 971 | | |
978 | 972 | | |
979 | | - | |
| 973 | + | |
980 | 974 | | |
981 | | - | |
982 | | - | |
| 975 | + | |
| 976 | + | |
983 | 977 | | |
984 | 978 | | |
985 | 979 | | |
986 | 980 | | |
987 | | - | |
988 | | - | |
| 981 | + | |
| 982 | + | |
989 | 983 | | |
990 | 984 | | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
| 985 | + | |
998 | 986 | | |
999 | | - | |
1000 | | - | |
| 987 | + | |
| 988 | + | |
1001 | 989 | | |
1002 | 990 | | |
1003 | 991 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3230 | 3230 | | |
3231 | 3231 | | |
3232 | 3232 | | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
| 3246 | + | |
3233 | 3247 | | |
3234 | 3248 | | |
3235 | 3249 | | |
| |||
0 commit comments