fix(no-sisyphus-gpt): translate toast message to English
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user