fix(migration): normalize Orchestrator-Sisyphus name
This commit is contained in:
parent
84e1ee09f0
commit
e6a572824c
@ -55,6 +55,7 @@ describe("migrateAgentNames", () => {
|
|||||||
const agents = {
|
const agents = {
|
||||||
SISYPHUS: { model: "test" },
|
SISYPHUS: { model: "test" },
|
||||||
"planner-sisyphus": { prompt: "test" },
|
"planner-sisyphus": { prompt: "test" },
|
||||||
|
"Orchestrator-Sisyphus": { model: "openai/gpt-5.2" },
|
||||||
}
|
}
|
||||||
|
|
||||||
// #when: Migrate agent names
|
// #when: Migrate agent names
|
||||||
@ -63,6 +64,7 @@ describe("migrateAgentNames", () => {
|
|||||||
// #then: Case-insensitive lookup should migrate correctly
|
// #then: Case-insensitive lookup should migrate correctly
|
||||||
expect(migrated["Sisyphus"]).toEqual({ model: "test" })
|
expect(migrated["Sisyphus"]).toEqual({ model: "test" })
|
||||||
expect(migrated["Prometheus (Planner)"]).toEqual({ prompt: "test" })
|
expect(migrated["Prometheus (Planner)"]).toEqual({ prompt: "test" })
|
||||||
|
expect(migrated["orchestrator-sisyphus"]).toEqual({ model: "openai/gpt-5.2" })
|
||||||
})
|
})
|
||||||
|
|
||||||
test("passes through unknown agent names unchanged", () => {
|
test("passes through unknown agent names unchanged", () => {
|
||||||
|
|||||||
@ -20,6 +20,7 @@ export const AGENT_NAME_MAP: Record<string, string> = {
|
|||||||
"frontend-ui-ux-engineer": "frontend-ui-ux-engineer",
|
"frontend-ui-ux-engineer": "frontend-ui-ux-engineer",
|
||||||
"document-writer": "document-writer",
|
"document-writer": "document-writer",
|
||||||
"multimodal-looker": "multimodal-looker",
|
"multimodal-looker": "multimodal-looker",
|
||||||
|
"orchestrator-sisyphus": "orchestrator-sisyphus",
|
||||||
}
|
}
|
||||||
|
|
||||||
export const BUILTIN_AGENT_NAMES = new Set([
|
export const BUILTIN_AGENT_NAMES = new Set([
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user