fix(confidence-engine): supply synthesis output schema
This commit is contained in:
@@ -375,6 +375,12 @@ describe("synthesizeCurrentUnderstanding — full seam", () => {
|
||||
const prompt = fake.generateReconstruction.mock.calls[0][0];
|
||||
expect(prompt).toContain("Complaint count increased by 35%");
|
||||
expect(prompt).toContain("[known]");
|
||||
expect(fake.generateReconstruction.mock.calls[0][2]).toEqual({
|
||||
type: "object",
|
||||
properties: { currentUnderstanding: { type: "string" } },
|
||||
required: ["currentUnderstanding"],
|
||||
additionalProperties: false,
|
||||
});
|
||||
});
|
||||
|
||||
it("supported node content flows to provider via synthesis prompt", async () => {
|
||||
|
||||
Reference in New Issue
Block a user