update gpt version (#310)
This commit is contained in:
parent
a63941bdb1
commit
5aa193c384
|
@ -365,7 +365,8 @@ plugins:
|
||||||
tianli_gpt:
|
tianli_gpt:
|
||||||
enable: false
|
enable: false
|
||||||
field: post # all, post, wiki
|
field: post # all, post, wiki
|
||||||
api: 5Q5mpqRK5DkwT1X9Gi5e
|
api: 5Q5mpqRK5DkwT1X9Gi5e # tianli_gpt key
|
||||||
|
typingAnimate: true # 打字机动画
|
||||||
|
|
||||||
style:
|
style:
|
||||||
darkmode: auto # auto / always / false
|
darkmode: auto # auto / always / false
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<script>
|
<script>
|
||||||
let tianliGPT_postSelector = '.md-text.content.<%= page.layout === 'post' ? 'post' : 'wiki' %>';
|
let tianliGPT_postSelector = '.md-text.content.<%= page.layout === 'post' ? 'post' : 'wiki' %>';
|
||||||
let tianliGPT_key = '<%= theme.plugins.tianli_gpt.api %>';
|
let tianliGPT_key = '<%= theme.plugins.tianli_gpt.api %>';
|
||||||
|
let tianliGPT_typingAnimate = <%= theme.plugins.tianli_gpt.typingAnimate %>;
|
||||||
</script>
|
</script>
|
||||||
<script defer src="https://cdn1.tianli0.top/gh/zhheo/Post-Abstract-AI@0.9/tianli_gpt.js"></script>
|
<script defer src="https://cdn1.tianli0.top/gh/zhheo/Post-Abstract-AI@0.13/tianli_gpt.js"></script>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in New Issue