Merge pull request #4290 from SpencerJung/fix/issue-4170-cjk-agent-header
fix(cli): preserve CJK agent header text
This commit is contained in:
@@ -133,6 +133,12 @@ describe("getAgentDisplayName", () => {
|
||||
// then returns "multimodal-looker"
|
||||
expect(result).toBe("multimodal-looker")
|
||||
})
|
||||
|
||||
it("preserves CJK display-name overrides verbatim", () => {
|
||||
expect(getAgentDisplayName("sisyphus", { sisyphus: { displayName: "Sisyphus - 主脑" } })).toBe("Sisyphus - 主脑")
|
||||
expect(getAgentDisplayName("hephaestus", { hephaestus: { displayName: "헤파이스토스" } })).toBe("헤파이스토스")
|
||||
expect(getAgentDisplayName("atlas", { atlas: { displayName: "アトラス" } })).toBe("アトラス")
|
||||
})
|
||||
})
|
||||
|
||||
describe("getAgentConfigKey", () => {
|
||||
|
||||
Reference in New Issue
Block a user