fix(athena): restore opportunistic retry flow and include athena-junior builtin name
This commit is contained in:
@@ -35,6 +35,17 @@ describe("agent name schemas", () => {
|
||||
expect(result.success).toBe(true)
|
||||
})
|
||||
|
||||
test("BuiltinAgentNameSchema accepts athena-junior", () => {
|
||||
//#given
|
||||
const candidate = "athena-junior"
|
||||
|
||||
//#when
|
||||
const result = BuiltinAgentNameSchema.safeParse(candidate)
|
||||
|
||||
//#then
|
||||
expect(result.success).toBe(true)
|
||||
})
|
||||
|
||||
test("OverridableAgentNameSchema accepts athena", () => {
|
||||
//#given
|
||||
const candidate = "athena"
|
||||
|
||||
@@ -13,6 +13,7 @@ export const BuiltinAgentNameSchema = z.enum([
|
||||
"atlas",
|
||||
"sisyphus-junior",
|
||||
"athena",
|
||||
"athena-junior",
|
||||
"council-member",
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user