experiment(confidence-engine): route UI journey provider centrally
This commit is contained in:
@@ -39,6 +39,8 @@ describe("app/api/cases/start route", () => {
|
||||
await POST(request);
|
||||
|
||||
expect(mockStartCase).toHaveBeenCalledWith({ scenario: "Scenario text" });
|
||||
expect(mockStartCase.mock.calls[0][0]).not.toHaveProperty("provider");
|
||||
expect(mockStartCase.mock.calls[0][0]).not.toHaveProperty("modelName");
|
||||
});
|
||||
|
||||
it("returns 200 on success", async () => {
|
||||
|
||||
Reference in New Issue
Block a user