mirror of
https://github.com/logseq/logseq.git
synced 2026-05-19 10:22:37 +00:00
dev: rename prompts/clojure_errors.md to prompts/review.md
This commit is contained in:
@@ -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\""
|
||||
|
||||
Reference in New Issue
Block a user