test(agents): expand hephaestus and utils tests for team-mode
This commit is contained in:
@@ -126,6 +126,8 @@ describe("getHephaestusPrompt", () => {
|
|||||||
expect(prompt).toContain("You build context by examining");
|
expect(prompt).toContain("You build context by examining");
|
||||||
expect(prompt).toContain("Forbidden stops");
|
expect(prompt).toContain("Forbidden stops");
|
||||||
expect(prompt).toContain("Three-attempt failure protocol");
|
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", () => {
|
test("GPT 5.3-codex model returns GPT-5.3 prompt", () => {
|
||||||
|
|||||||
@@ -525,9 +525,9 @@ describe("createBuiltinAgents without systemDefaultModel", () => {
|
|||||||
const agents = await createBuiltinAgents([], {}, undefined, undefined)
|
const agents = await createBuiltinAgents([], {}, undefined, undefined)
|
||||||
|
|
||||||
// #then - connected cache enables model resolution despite no systemDefaultModel
|
// #then - connected cache enables model resolution despite no systemDefaultModel
|
||||||
expect(agents.oracle).toBeDefined()
|
expect(agents.oracle).toBeDefined()
|
||||||
expect(agents.oracle.model).toBe("openai/gpt-5.5")
|
expect(agents.oracle.model).toBe("openai/gpt-5.5")
|
||||||
cacheSpy.mockRestore?.()
|
cacheSpy.mockRestore?.()
|
||||||
providerModelsSpy.mockRestore()
|
providerModelsSpy.mockRestore()
|
||||||
fetchSpy.mockRestore()
|
fetchSpy.mockRestore()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user