fix(agent): align tools + preserve indentation
This commit is contained in:
1 parent
196eb86e38
commit
7c89ce93b5
12 files changed
+88
-46
No files matched your search
@@ -780,9 +780,7 @@ describe("subscribeEmbeddedPiSession", () => {
|
||||
handler?.({ type: "message_end", message: assistantMessage });
|
||||
|
||||
expect(onBlockReply).toHaveBeenCalledTimes(3);
|
||||
expect(onBlockReply.mock.calls[1][0].text).toBe(
|
||||
"~~~sh\nline1\nline2\n~~~",
|
||||
);
|
||||
expect(onBlockReply.mock.calls[1][0].text).toBe("~~~sh\nline1\nline2\n~~~");
|
||||
});
|
||||
|
||||
it("keeps indented fenced blocks intact", () => {
|
||||
|
||||
Reference in new issue
Block a user