dev: rename prompts/clojure_errors.md to prompts/review.md

This commit is contained in:
rcmerci
2025-08-26 17:22:15 +08:00
parent 28b958ff7c
commit cd17afdc23
3 changed files with 9 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
(defn check-common-errors
[]
(let [prompt (String. (fs/read-all-bytes "prompts/clojure_errors.md"))
(let [prompt (String. (fs/read-all-bytes "prompts/review.md"))
diff (:out (shell {:out :string} "git diff --no-prefix -U100 -- '*.cljs'"))]
(when-not (string/blank? diff)
(let [command (format "gh models run openai/gpt-5 \"%s\""