feat: expand intelligent investigation workspace
This commit is contained in:
@@ -55,3 +55,11 @@ describe("Responses transport", () => {
|
||||
expect((await collect(responsesToUiStream(bytes(failed)))).at(-2)).toEqual({ type: "error", errorText: "数据源不可用" });
|
||||
});
|
||||
});
|
||||
|
||||
it("binds a saved interaction continuation to the owning conversation", () => {
|
||||
const request = createResponseRequest([{ id: "continuation", role: "user", parts: [{ type: "text", text: "继续处理已保存回答" }] }], {
|
||||
conversation: "original-session", interactionId: "saved-interaction", capabilities: ["host-question@1"],
|
||||
});
|
||||
expect(request.conversation).toBe("original-session");
|
||||
expect(request.tjwater).toMatchObject({ interaction_id: "saved-interaction", capabilities: ["host-question@1"] });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user