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"
|
||||
|
||||
Reference in New Issue
Block a user