mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
⚡ Perf: add loadingText params for AI summary
This commit is contained in:
@@ -931,6 +931,7 @@ enableEmoji = true
|
||||
wordLimit = 1000
|
||||
typingAnimate = true
|
||||
beginningText = ""
|
||||
loadingText = true
|
||||
|
||||
# FixIt 0.3.10 | NEW Global Feed config for RSS, Atom and JSON feed.
|
||||
[params.feed]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- .Scratch.Set "version" "v0.3.17-33a8861e" -}}
|
||||
{{- .Scratch.Set "version" "v0.3.17-03b3bfbd" -}}
|
||||
{{- .Scratch.Set "this" dict -}}
|
||||
|
||||
{{- partial "init/detection-env.html" . -}}
|
||||
|
||||
@@ -51,6 +51,9 @@
|
||||
{{- with $summaryConfig.beginningText -}}
|
||||
{{- $postSummaryConfig = add $postSummaryConfig (printf "let %v_BeginningText='%v';" $p .) -}}
|
||||
{{- end -}}
|
||||
{{- with eq $summaryConfig.loadingText false -}}
|
||||
{{- $postSummaryConfig = add $postSummaryConfig (printf "let %v_loadingText=false;" $p) -}}
|
||||
{{- end -}}
|
||||
{{- if $chatConfig.enable -}}
|
||||
{{- $postSummaryConfig = add $postSummaryConfig (printf "let %v_recommendation=true;" $p) -}}
|
||||
{{- else -}}
|
||||
|
||||
Reference in New Issue
Block a user