fix(no-sisyphus-gpt): translate toast message to English

This commit is contained in:
YeonGyu-Kim
2026-02-20 10:44:23 +09:00
parent f3c8b0d098
commit ac1eb30fda
2 changed files with 4 additions and 5 deletions

View File

@@ -6,10 +6,9 @@ import { getAgentConfigKey, getAgentDisplayName } from "../../shared/agent-displ
const TOAST_TITLE = "NEVER Use Sisyphus with GPT"
const TOAST_MESSAGE = [
"Sisyphus is NOT designed for GPT models.",
"Sisyphus + GPT performs worse than vanilla Codex.",
"You are literally burning money.",
"Use Hephaestus for GPT models instead.",
"Sisyphus works best with Claude Opus, and works fine with Kimi/GLM models.",
"Do NOT use Sisyphus with GPT.",
"For GPT models, always use Hephaestus.",
].join("\n")
const HEPHAESTUS_DISPLAY = getAgentDisplayName("hephaestus")

View File

@@ -43,7 +43,7 @@ describe("no-sisyphus-gpt hook", () => {
expect(showToast.mock.calls[0]?.[0]).toMatchObject({
body: {
title: "NEVER Use Sisyphus with GPT",
message: expect.stringContaining("burning money"),
message: expect.stringContaining("For GPT models, always use Hephaestus."),
variant: "error",
},
})