test(agents): expand hephaestus and utils tests for team-mode

This commit is contained in:
YeonGyu-Kim
2026-04-28 10:47:55 +09:00
parent 00e3efee46
commit fa6fa0bc61
2 changed files with 5 additions and 3 deletions

View File

@@ -126,6 +126,8 @@ describe("getHephaestusPrompt", () => {
expect(prompt).toContain("You build context by examining");
expect(prompt).toContain("Forbidden stops");
expect(prompt).toContain("Three-attempt failure protocol");
expect(prompt).toContain("based on GPT-5.5");
expect(prompt).toContain("Autonomy and Persistence");
});
test("GPT 5.3-codex model returns GPT-5.3 prompt", () => {

View File

@@ -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()
})