should be ready to go

This commit is contained in:
2026-09-15 11:02:54 -06:00
parent 1e79c9ed99
commit c5aed984f8
4 changed files with 101 additions and 50 deletions
+3 -12
View File
@@ -6,13 +6,7 @@ local json = utility.require("dkjson")
local file_name = arg[1]
print("---")
print(utility.capture_safe("shasum -p"))
print("---")
print("---")
print(utility.capture_safe("shasum -U -a 512 test.lua"))
print("---")
print(utility.OS)
os.exit(0)
@@ -23,9 +17,6 @@ if prompt:sub(-1) ~= "\n" then
prompt = prompt .. "\n\n"
end
local file_contents = utility.open(file_name, "r", function(file)
return file:read("*all")
end)
local file_contents = utility.read_file(file_name)
prompt = prompt .. file_contents
-- output = output:sub(1, -2) -- strip extra newline from utility.capture_safe
-- print(utility.llm_prompt(prompt))