Disallows chatgpt for emailed invoices.

This commit is contained in:
2025-03-25 21:26:40 -07:00
parent 581033001b
commit 01329bbdf5
5 changed files with 30 additions and 24 deletions

View File

@@ -716,7 +716,7 @@
:content-length (.length tempfile)})
imports (->> (if force-chatgpt
(parse/glimpse2 (.getPath tempfile))
(parse/parse-file (.getPath tempfile) filename))
(parse/parse-file (.getPath tempfile) filename :allow-glimpse? true))
(map #(assoc %
:client-override force-client
:location-override force-location