fix(tests): update model-requirements test for 11 builtin agents (add athena)
This commit is contained in:
parent
f482b1b589
commit
d76c2bd8fa
@ -179,8 +179,8 @@ describe("AGENT_MODEL_REQUIREMENTS", () => {
|
|||||||
expect(hephaestus.requiresModel).toBeUndefined()
|
expect(hephaestus.requiresModel).toBeUndefined()
|
||||||
})
|
})
|
||||||
|
|
||||||
test("all 10 builtin agents have valid fallbackChain arrays", () => {
|
test("all 11 builtin agents have valid fallbackChain arrays", () => {
|
||||||
// #given - list of 10 agent names
|
// #given - list of 11 agent names
|
||||||
const expectedAgents = [
|
const expectedAgents = [
|
||||||
"sisyphus",
|
"sisyphus",
|
||||||
"hephaestus",
|
"hephaestus",
|
||||||
@ -192,13 +192,14 @@ describe("AGENT_MODEL_REQUIREMENTS", () => {
|
|||||||
"metis",
|
"metis",
|
||||||
"momus",
|
"momus",
|
||||||
"atlas",
|
"atlas",
|
||||||
|
"athena",
|
||||||
]
|
]
|
||||||
|
|
||||||
// when - checking AGENT_MODEL_REQUIREMENTS
|
// when - checking AGENT_MODEL_REQUIREMENTS
|
||||||
const definedAgents = Object.keys(AGENT_MODEL_REQUIREMENTS)
|
const definedAgents = Object.keys(AGENT_MODEL_REQUIREMENTS)
|
||||||
|
|
||||||
// #then - all agents present with valid fallbackChain
|
// #then - all agents present with valid fallbackChain
|
||||||
expect(definedAgents).toHaveLength(10)
|
expect(definedAgents).toHaveLength(11)
|
||||||
for (const agent of expectedAgents) {
|
for (const agent of expectedAgents) {
|
||||||
const requirement = AGENT_MODEL_REQUIREMENTS[agent]
|
const requirement = AGENT_MODEL_REQUIREMENTS[agent]
|
||||||
expect(requirement).toBeDefined()
|
expect(requirement).toBeDefined()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user