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_TITLE = "NEVER Use Sisyphus with GPT"
const TOAST_MESSAGE = [ const TOAST_MESSAGE = [
"Sisyphus is NOT designed for GPT models.", "Sisyphus works best with Claude Opus, and works fine with Kimi/GLM models.",
"Sisyphus + GPT performs worse than vanilla Codex.", "Do NOT use Sisyphus with GPT.",
"You are literally burning money.", "For GPT models, always use Hephaestus.",
"Use Hephaestus for GPT models instead.",
].join("\n") ].join("\n")
const HEPHAESTUS_DISPLAY = getAgentDisplayName("hephaestus") const HEPHAESTUS_DISPLAY = getAgentDisplayName("hephaestus")

View File

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