Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Typical users of ChatALL are:
| [iFLYTEK SPARK](http://xinghuo.xfyun.cn/) | Yes | Coming soon | |
| [Kimi](https://kimi.moonshot.cn/ ) | Yes | No API | |
| [Llama 2 13B & 70B](https://ai.meta.com/llama/) | Yes | No API | |
| [MiniMax](https://www.minimax.io/) | No | Yes | |
| [MOSS](https://moss.fastnlp.top/) | Yes | No API | |
| [Perplexity](https://www.perplexity.ai/) | Yes | No API | |
| [Phind](https://www.phind.com/) | Yes | No API | |
Expand Down
1 change: 1 addition & 0 deletions README_ZH-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ ChatALL 的典型用户是:
| [讯飞星火](http://xinghuo.xfyun.cn/) | 支持 | 即将推出 | |
| [Kimi](https://kimi.moonshot.cn/) | 支持 | 无 API | |
| [Llama 2 13B 和 70B](https://ai.meta.com/llama/) | 支持 | 无 API | |
| [MiniMax](https://www.minimax.io/) | 不支持 | 支持 | |
| [MOSS](https://moss.fastnlp.top/) | 支持 | 无 API | |
| [Perplexity](https://www.perplexity.ai/) | 支持 | 无 | |
| [Phind](https://www.phind.com/) | 支持 | 无 API | |
Expand Down
5 changes: 5 additions & 0 deletions public/bots/minimax-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/bots/minimax-m25-highspeed-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/bots/minimax-m25-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/bots/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ import ClaudeAPIHaikuBot from "./anthropic/ClaudeAPIHaikuBot";
import Grok2APIBot from "./xai/Grok2APIBot";
import Grok3APIBot from "./xai/Grok3APIBot";
import Grok3MiniAPIBot from "./xai/Grok3MiniAPIBot";
import MiniMaxM27Bot from "./minimax/MiniMaxM27Bot";
import MiniMaxM27HighspeedBot from "./minimax/MiniMaxM27HighspeedBot";
import MiniMaxM3Bot from "./minimax/MiniMaxM3Bot";
Comment on lines +69 to +71

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion | 🟠 Major | ⚡ Quick win

Use @/ alias for MiniMax bot imports.

Lines 69-71 use relative import paths (./minimax/...) instead of the @/ alias. As per coding guidelines, imports from src/ should use the @/ alias for consistency and clarity.

♻️ Proposed fix
-import MiniMaxM27Bot from "./minimax/MiniMaxM27Bot";
-import MiniMaxM27HighspeedBot from "./minimax/MiniMaxM27HighspeedBot";
-import MiniMaxM3Bot from "./minimax/MiniMaxM3Bot";
+import MiniMaxM27Bot from "`@/bots/minimax/MiniMaxM27Bot`";
+import MiniMaxM27HighspeedBot from "`@/bots/minimax/MiniMaxM27HighspeedBot`";
+import MiniMaxM3Bot from "`@/bots/minimax/MiniMaxM3Bot`";

As per coding guidelines for src/**/*.{js,ts,vue}: Use the @/ alias instead of deep relative paths for imports from src/.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
import MiniMaxM27Bot from "./minimax/MiniMaxM27Bot";
import MiniMaxM27HighspeedBot from "./minimax/MiniMaxM27HighspeedBot";
import MiniMaxM3Bot from "./minimax/MiniMaxM3Bot";
import MiniMaxM27Bot from "`@/bots/minimax/MiniMaxM27Bot`";
import MiniMaxM27HighspeedBot from "`@/bots/minimax/MiniMaxM27HighspeedBot`";
import MiniMaxM3Bot from "`@/bots/minimax/MiniMaxM3Bot`";
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/bots/index.js` around lines 69 - 71, Update the three import statements
that currently use relative paths to use the project alias: replace
"./minimax/MiniMaxM27Bot", "./minimax/MiniMaxM27HighspeedBot", and
"./minimax/MiniMaxM3Bot" with "`@/minimax/MiniMaxM27Bot`",
"`@/minimax/MiniMaxM27HighspeedBot`", and "`@/minimax/MiniMaxM3Bot`" respectively so
that the symbols MiniMaxM27Bot, MiniMaxM27HighspeedBot, and MiniMaxM3Bot are
imported via the alias consistent with the src/* import guideline.


const all = [
Qihoo360AIBrainBot.getInstance(),
Expand Down Expand Up @@ -134,6 +137,9 @@ const all = [
Grok2APIBot.getInstance(),
Grok3APIBot.getInstance(),
Grok3MiniAPIBot.getInstance(),
MiniMaxM27Bot.getInstance(),
MiniMaxM27HighspeedBot.getInstance(),
MiniMaxM3Bot.getInstance(),
];

const disabled = ["HuggingChatBot"];
Expand Down Expand Up @@ -230,6 +236,9 @@ export const botTags = {
bots.getBotByClassName("Grok2APIBot"),
bots.getBotByClassName("Grok3APIBot"),
bots.getBotByClassName("Grok3MiniAPIBot"),
bots.getBotByClassName("MiniMaxM27Bot"),
bots.getBotByClassName("MiniMaxM27HighspeedBot"),
bots.getBotByClassName("MiniMaxM3Bot"),
],
madeInChina: [
bots.getBotByClassName("Qihoo360AIBrainBot"),
Expand All @@ -243,6 +252,9 @@ export const botTags = {
bots.getBotByClassName("ChatGLMBot"),
bots.getBotByClassName("ChatGLM4Bot"),
bots.getBotByClassName("KimiBot"),
bots.getBotByClassName("MiniMaxM27Bot"),
bots.getBotByClassName("MiniMaxM27HighspeedBot"),
bots.getBotByClassName("MiniMaxM3Bot"),
],
};
export default bots;
41 changes: 41 additions & 0 deletions src/bots/minimax/MiniMaxAPIBot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import LangChainBot from "../LangChainBot";
import store from "@/store";
import { ChatOpenAI } from "@langchain/openai";

export default class MiniMaxAPIBot extends LangChainBot {
static _brandId = "minimaxApi";
static _className = "MiniMaxAPIBot";

constructor() {
super();
}

async _checkAvailability() {
let available = false;

if (store.state.minimaxApi.apiKey) {
this.setupModel();
available = true;
}
return available;
}

_setupModel() {
const chatModel = new ChatOpenAI({
configuration: {
basePath: store.state.minimaxApi.alterUrl
? store.state.minimaxApi.alterUrl
: "https://api.minimax.io/v1",
},
openAIApiKey: store.state.minimaxApi.apiKey,
modelName: this.constructor._model ? this.constructor._model : "",
Comment on lines +26 to +31

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For conciseness and improved readability, you can simplify the ternary expressions for basePath and modelName by using the logical OR (||) operator to provide default values.

Suggested change
basePath: store.state.minimaxApi.alterUrl
? store.state.minimaxApi.alterUrl
: "https://api.minimax.io/v1",
},
openAIApiKey: store.state.minimaxApi.apiKey,
modelName: this.constructor._model ? this.constructor._model : "",
basePath: store.state.minimaxApi.alterUrl || "https://api.minimax.io/v1",
},
openAIApiKey: store.state.minimaxApi.apiKey,
modelName: this.constructor._model || "",

temperature: store.state.minimaxApi.temperature,
streaming: true,
});
return chatModel;
}

getPastRounds() {
return store.state.minimaxApi.pastRounds;
}
}
10 changes: 10 additions & 0 deletions src/bots/minimax/MiniMaxM27Bot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import MiniMaxAPIBot from "./MiniMaxAPIBot";

export default class MiniMaxM27Bot extends MiniMaxAPIBot {
static _className = "MiniMaxM27Bot";
static _logoFilename = "minimax-logo.svg";
static _model = "MiniMax-M2.7";
constructor() {
super();
}
}
10 changes: 10 additions & 0 deletions src/bots/minimax/MiniMaxM27HighspeedBot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import MiniMaxAPIBot from "./MiniMaxAPIBot";

export default class MiniMaxM27HighspeedBot extends MiniMaxAPIBot {
static _className = "MiniMaxM27HighspeedBot";
static _logoFilename = "minimax-logo.svg";
static _model = "MiniMax-M2.7-highspeed";
constructor() {
super();
}
}
10 changes: 10 additions & 0 deletions src/bots/minimax/MiniMaxM3Bot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import MiniMaxAPIBot from "./MiniMaxAPIBot";

export default class MiniMaxM3Bot extends MiniMaxAPIBot {
static _className = "MiniMaxM3Bot";
static _logoFilename = "minimax-logo.svg";
static _model = "MiniMax-M3";
constructor() {
super();
}
}
73 changes: 73 additions & 0 deletions src/components/BotSettings/MiniMaxAPIBotSettings.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<template>
<CommonBotSettings
:settings="settings"
:brand-id="brandId"
mutation-type="setMiniMaxApi"
:watcher="watcher"
></CommonBotSettings
>
</template>

<script>
import _bots from "@/bots";
import Bot from "@/bots/minimax/MiniMaxAPIBot";
import CommonBotSettings from "@/components/BotSettings/CommonBotSettings.vue";
import { Type } from "./settings.const";

const settings = [
{
type: Type.Text,
name: "apiKey",
title: "common.apiKey",
description: "settings.secretPrompt",
placeholder: "eyJh...",
},
{
type: Type.Text,
name: "alterUrl",
title: "minimaxApi.alterUrl",
description: "minimaxApi.alterUrlPrompt",
placeholder: "https://api.minimax.io/v1",
},
{
type: Type.Slider,
name: "temperature",
title: "minimaxApi.temperature",
description: "minimaxApi.temperaturePrompt",
min: 0.1,
max: 1,
step: 0.1,
ticks: {
0.1: "minimaxApi.temperature01",
1: "minimaxApi.temperature1",
},
},
{
type: Type.Slider,
name: "pastRounds",
title: "bot.pastRounds",
description: "bot.pastRoundsPrompt",
min: 0,
max: 10,
step: 1,
},
];
export default {
components: {
CommonBotSettings,
},
data() {
return {
settings: settings,
brandId: Bot._brandId,
};
},
methods: {
watcher() {
_bots.all
.filter((bot) => bot instanceof Bot)
.map((bot) => bot.setupModel());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For code clarity and semantic correctness, it's better to use .forEach() here instead of .map(). The .map() method is intended for creating a new array by transforming elements, but here you are only performing a side effect (calling setupModel) for each element. Using .forEach() makes the intent of the code clearer.

        .forEach((bot) => bot.setupModel());

},
},
};
</script>
2 changes: 2 additions & 0 deletions src/components/SettingsModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ import { resolveTheme, applyTheme, Mode } from "../theme";
import ClaudeAPIBotSettings from "./BotSettings/ClaudeAPIBotSettings.vue";
import GroqAPIBotSettings from "./BotSettings/GroqAPIBotSettings.vue";
import xAIAPIBotSettings from "./BotSettings/xAIAPIBotSettings.vue";
import MiniMaxAPIBotSettings from "./BotSettings/MiniMaxAPIBotSettings.vue";

const { ipcRenderer } = window.require("electron");
const { t: $t, locale } = useI18n();
Expand Down Expand Up @@ -156,6 +157,7 @@ const botSettings = [
{ brand: "huggingChat", component: HuggingChatBotSettings },
{ brand: "kimi", component: KimiBotSettings },
{ brand: "lmsys", component: LMSYSBotSettings },
{ brand: "minimaxApi", component: MiniMaxAPIBotSettings },
{ brand: "mistral", component: MistralBotSettings },
{ brand: "moss", component: MOSSBotSettings },
{ brand: "openaiApi", component: OpenAIAPIBotSettings },
Expand Down
14 changes: 13 additions & 1 deletion src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,5 +393,17 @@
"10": "10",
"25": "25",
"50": "50",
"100": "100"
"100": "100",
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
}
Comment on lines +397 to +408

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Missing German translations for MiniMax API settings.

The minimaxApi block contains English text instead of German translations. For consistency with the rest of de.json, consider translating:

  • "alterUrlPrompt" → e.g., "Benutzerdefinierte API-Endpunkt-URL (Standard: https://api.minimax.io/v1)"
  • "temperature" → "Temperatur" (already used elsewhere in this file, e.g., line 111)
  • "temperaturePrompt" → e.g., "Sampling-Temperatur zwischen 0,1 und 1"
  • "temperature01" → e.g., "Präzise"
  • "temperature1" → e.g., "Kreativ"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/i18n/locales/de.json` around lines 397 - 409, Translate the English
strings in the minimaxApi localization object into German: update the keys
"alterUrlPrompt" to a German sentence such as "Benutzerdefinierte
API-Endpunkt-URL (Standard: https://api.minimax.io/v1)", "temperature" to
"Temperatur", "temperaturePrompt" to something like "Sampling-Temperatur
zwischen 0,1 und 1", "temperature01" to "Präzise", and "temperature1" to
"Kreativ" so the minimaxApi block matches the rest of de.json and existing
terminology used elsewhere.

}
12 changes: 12 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,18 @@
"gemma-7b-it": "Gemma 7b",
"gemma2-9b-it": "Gemma2 9b"
},
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
},
Comment thread
coderabbitai[bot] marked this conversation as resolved.
"xaiApi": {
"name": "xAI API",
"grok-2-latest": "Grok-2",
Expand Down
14 changes: 13 additions & 1 deletion src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,5 +393,17 @@
"10": "10",
"25": "25",
"50": "50",
"100": "100"
"100": "100",
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
}
Comment on lines +396 to +408

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Missing Spanish translations for MiniMax API settings.

The minimaxApi block contains English text instead of Spanish translations. Consider translating for consistency:

  • "temperature01": "Precise" → could be "Preciso"
  • "temperature1": "Creative" → could be "Creativo"
  • "alterUrlPrompt" → could be "URL del endpoint API personalizado (por defecto: https://api.minimax.io/v1)"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/i18n/locales/es.json` around lines 396 - 407, In the minimaxApi
translation block, replace the English values with Spanish equivalents: update
"temperature01" to "Preciso", "temperature1" to "Creativo", and change
"alterUrlPrompt" to "URL del endpoint API personalizado (por defecto:
https://api.minimax.io/v1)"; ensure you edit the keys inside the minimaxApi
object (minimaxApi.name, MiniMax-M25, MiniMax-M25-highspeed, alterUrl,
alterUrlPrompt, temperature, temperaturePrompt, temperature01, temperature1) so
all user-facing strings are consistently translated into Spanish.

}
14 changes: 13 additions & 1 deletion src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,5 +393,17 @@
"10": "10",
"25": "25",
"50": "50",
"100": "100"
"100": "100",
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
}
Comment on lines +397 to +408

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Missing French translations for MiniMax API settings.

The minimaxApi block contains English text instead of French translations. Consider translating to maintain consistency with the rest of this locale file.

For example:

  • "alterUrl": "API URL" → could be "URL de l'API"
  • "alterUrlPrompt" → could be "URL du point d'accès API personnalisé (par défaut : https://api.minimax.io/v1)"
  • "temperature01": "Precise" → could be "Précis"
  • "temperature1": "Creative" → could be "Créatif"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/i18n/locales/fr.json` around lines 397 - 407, The minimaxApi translation
entries are still in English; update the keys inside the minimaxApi object
(e.g., "name", "MiniMax-M25", "MiniMax-M25-highspeed", "alterUrl",
"alterUrlPrompt", "temperature", "temperaturePrompt", "temperature01",
"temperature1") with appropriate French strings — for example change "alterUrl"
to "URL de l'API", "alterUrlPrompt" to "URL du point d'accès API personnalisé
(par défaut : https://api.minimax.io/v1)", "temperature01" to "Précis" and
"temperature1" to "Créatif" — ensuring all values are translated to French to
match the rest of the locale file.

}
14 changes: 13 additions & 1 deletion src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,5 +395,17 @@
"10": "10",
"25": "25",
"50": "50",
"100": "100"
"100": "100",
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
}
Comment on lines +399 to +410

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Missing Italian translations for MiniMax API settings.

The minimaxApi block contains English text instead of Italian translations. Consider translating for consistency with the rest of the file:

  • "temperature01": "Precise" → could be "Preciso"
  • "temperature1": "Creative" → could be "Creativo"
  • "alterUrlPrompt" → could be "URL endpoint API personalizzato (predefinito: https://api.minimax.io/v1)"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/i18n/locales/it.json` around lines 399 - 409, Translate the English
strings in the minimaxApi locale object to Italian: replace the value for
"alterUrlPrompt" with "URL endpoint API personalizzato (predefinito:
https://api.minimax.io/v1)", change "temperature01" from "Precise" to "Preciso",
and change "temperature1" from "Creative" to "Creativo"; update these keys
inside the minimaxApi block so the it.json file remains consistent.

}
14 changes: 13 additions & 1 deletion src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,5 +393,17 @@
"10": "10",
"25": "25",
"50": "50",
"100": "100"
"100": "100",
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
Comment on lines +402 to +407

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

JA locale strings are untranslated English text.

Lines 401–406 introduce English UI copy in ja.json, which creates mixed-language UX in Japanese settings.

🌐 Suggested JA localization
   "minimaxApi": {
     "name": "MiniMax API",
     "MiniMax-M25": "MiniMax-M2.5",
     "MiniMax-M25-highspeed": "MiniMax-M2.5-highspeed",
     "alterUrl": "API URL",
-    "alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
-    "temperature": "Temperature",
-    "temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
-    "temperature01": "Precise",
-    "temperature1": "Creative"
+    "alterUrlPrompt": "カスタム API エンドポイント URL(既定: https://api.minimax.io/v1)",
+    "temperature": "温度",
+    "temperaturePrompt": "0.1〜1 の範囲でサンプリング温度を設定します",
+    "temperature01": "正確寄り",
+    "temperature1": "創造的"
   }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
"alterUrl": "API URL",
"alterUrlPrompt": "カスタム API エンドポイント URL(既定: https://api.minimax.io/v1",
"temperature": "温度",
"temperaturePrompt": "0.1〜1 の範囲でサンプリング温度を設定します",
"temperature01": "正確寄り",
"temperature1": "創造的"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/i18n/locales/ja.json` around lines 401 - 406, The JA locale contains
English strings for keys alterUrl, alterUrlPrompt, temperature,
temperaturePrompt, temperature01, and temperature1; update ja.json to provide
proper Japanese translations for those keys (e.g., translate "API URL", "Custom
API endpoint URL (default: https://api.minimax.io/v1)", "Temperature", "What
sampling temperature to use, between 0.1 and 1", "Precise", and "Creative") so
the Japanese locale is fully localized while preserving the same keys and
default URL text where applicable.

}
}
14 changes: 13 additions & 1 deletion src/i18n/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,5 +396,17 @@
"10": "10",
"25": "25",
"50": "50",
"100": "100"
"100": "100",
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
}
Comment on lines +400 to +411

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Missing Korean translations for MiniMax API settings.

The minimaxApi block contains English text instead of Korean translations. For consistency with the rest of ko.json, consider translating the user-facing strings:

  • "alterUrlPrompt" → e.g., "사용자 정의 API 엔드포인트 URL (기본값: https://api.minimax.io/v1)"
  • "temperature" → "온도" (already used elsewhere in this file)
  • "temperaturePrompt" → e.g., "0.1에서 1 사이의 샘플링 온도"
  • "temperature01" → e.g., "정밀"
  • "temperature1" → e.g., "창의적"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/i18n/locales/ko.json` around lines 400 - 412, The minimaxApi localization
block contains English strings; replace the user-facing values under the
"minimaxApi" object (keys like "alterUrl", "alterUrlPrompt", "temperature",
"temperaturePrompt", "temperature01", "temperature1") with Korean translations
(for example: "alterUrl" → "API URL" if desired in Korean, "alterUrlPrompt" →
"사용자 정의 API 엔드포인트 URL (기본값: https://api.minimax.io/v1)", "temperature" → "온도",
"temperaturePrompt" → "0.1에서 1 사이의 샘플링 온도", "temperature01" → "정밀",
"temperature1" → "창의적") so the entire minimaxApi block matches the rest of
ko.json.

}
14 changes: 13 additions & 1 deletion src/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,5 +393,17 @@
"10": "10",
"25": "25",
"50": "50",
"100": "100"
"100": "100",
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
}
Comment on lines +397 to +408

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Missing Russian translations for MiniMax API settings.

The minimaxApi block contains English text instead of Russian translations. This is inconsistent with the rest of the locale file and will result in a mixed-language UI for Russian users.

For example:

  • "alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)" should be translated to Russian
  • "temperature": "Temperature" → could be "Температура"
  • "temperature01": "Precise" → could be "Точный"
  • "temperature1": "Creative" → could be "Креативный"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/i18n/locales/ru.json` around lines 397 - 407, The minimaxApi block
contains English strings that must be translated into Russian; update the keys
inside the minimaxApi object (e.g., "name", "MiniMax-M25",
"MiniMax-M25-highspeed", "alterUrl", "alterUrlPrompt", "temperature",
"temperaturePrompt", "temperature01", "temperature1") with proper Russian
translations (for instance "Температура" for "temperature", "Точный" for
"temperature01", "Креативный" for "temperature1") and translate the
alterUrlPrompt and temperaturePrompt strings to Russian while preserving any
URLs and placeholders.

}
14 changes: 13 additions & 1 deletion src/i18n/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,5 +372,17 @@
"10": "10",
"25": "25",
"50": "50",
"100": "100"
"100": "100",
"minimaxApi": {
"name": "MiniMax API",
"MiniMax-M27": "MiniMax-M2.7",
"MiniMax-M27-highspeed": "MiniMax-M2.7-highspeed",
"MiniMax-M3": "MiniMax-M3",
"alterUrl": "API URL",
"alterUrlPrompt": "Custom API endpoint URL (default: https://api.minimax.io/v1)",
"temperature": "Temperature",
"temperaturePrompt": "What sampling temperature to use, between 0.1 and 1",
"temperature01": "Precise",
"temperature1": "Creative"
}
}
Loading