fix(no-hephaestus-non-gpt): make toast message more blunt
This commit is contained in:
parent
3dba1c49d4
commit
f3e6cab2f8
@ -7,7 +7,7 @@ import { getAgentConfigKey, getAgentDisplayName } from "../../shared/agent-displ
|
|||||||
const TOAST_TITLE = "NEVER Use Hephaestus with Non-GPT"
|
const TOAST_TITLE = "NEVER Use Hephaestus with Non-GPT"
|
||||||
const TOAST_MESSAGE = [
|
const TOAST_MESSAGE = [
|
||||||
"Hephaestus is designed exclusively for GPT models.",
|
"Hephaestus is designed exclusively for GPT models.",
|
||||||
"Hephaestus + non-GPT performs worse than vanilla Sisyphus.",
|
"Hephaestus is trash without GPT.",
|
||||||
"For Claude/Kimi/GLM models, always use Sisyphus.",
|
"For Claude/Kimi/GLM models, always use Sisyphus.",
|
||||||
].join("\n")
|
].join("\n")
|
||||||
const SISYPHUS_DISPLAY = getAgentDisplayName("sisyphus")
|
const SISYPHUS_DISPLAY = getAgentDisplayName("sisyphus")
|
||||||
|
|||||||
@ -43,7 +43,7 @@ describe("no-hephaestus-non-gpt hook", () => {
|
|||||||
expect(showToast.mock.calls[0]?.[0]).toMatchObject({
|
expect(showToast.mock.calls[0]?.[0]).toMatchObject({
|
||||||
body: {
|
body: {
|
||||||
title: "NEVER Use Hephaestus with Non-GPT",
|
title: "NEVER Use Hephaestus with Non-GPT",
|
||||||
message: expect.stringContaining("For Claude/Kimi/GLM models, always use Sisyphus."),
|
message: expect.stringContaining("Hephaestus is trash without GPT."),
|
||||||
variant: "error",
|
variant: "error",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user