test(agents): expand hephaestus and utils tests for team-mode
This commit is contained in:
@@ -525,9 +525,9 @@ describe("createBuiltinAgents without systemDefaultModel", () => {
|
||||
const agents = await createBuiltinAgents([], {}, undefined, undefined)
|
||||
|
||||
// #then - connected cache enables model resolution despite no systemDefaultModel
|
||||
expect(agents.oracle).toBeDefined()
|
||||
expect(agents.oracle.model).toBe("openai/gpt-5.5")
|
||||
cacheSpy.mockRestore?.()
|
||||
expect(agents.oracle).toBeDefined()
|
||||
expect(agents.oracle.model).toBe("openai/gpt-5.5")
|
||||
cacheSpy.mockRestore?.()
|
||||
providerModelsSpy.mockRestore()
|
||||
fetchSpy.mockRestore()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user