refactor: return complete tool results inline

This commit is contained in:
morluto
2026-09-29 07:08:46 +08:00
parent 2160d4fae5
commit 0d96275b68
535 changed files with 4084 additions and 13537 deletions
+1 -12
View File
@@ -116,18 +116,7 @@ it("handles concurrent tool calls without corruption", async () => {
execute: (name) => {
invocations.push(name);
return Promise.resolve(
ok(
["list_procedures", "list_strings"].includes(name)
? {
items: [],
offset: 0,
limit: 100,
total: 0,
next_offset: null,
has_more: false,
}
: [],
),
ok(["list_procedures", "list_strings"].includes(name) ? [] : []),
);
},
});