fix: refine tools (#2229)

This commit is contained in:
yetone
2025-06-16 01:27:39 +08:00
committed by GitHub
parent b8aa182c3f
commit fcf457ed7f
15 changed files with 247 additions and 169 deletions

View File

@@ -112,9 +112,9 @@ describe("llm_tools", function()
end)
end)
describe("delete_file", function()
describe("delete_path", function()
it("should delete existing file", function()
LlmTools.delete_file({ path = "test.txt" }, nil, function(success, err)
LlmTools.delete_path({ path = "test.txt" }, nil, function(success, err)
assert.is_nil(err)
assert.is_true(success)