diff --git a/_config.yml b/_config.yml
index 36eacf6..bf354f2 100755
--- a/_config.yml
+++ b/_config.yml
@@ -453,12 +453,19 @@ plugins:
enable: #true
js: https://jsd.onmicrosoft.cn/gh/qxchuckle/Post-Summary-AI@6.0/chuckle-post-ai.min.js
field: post # all, post, wiki
- api: 5Q5mpqRK5DkwT1X9Gi5e # tianli_gpt key
- limit: 1000 # 设置提交的字数限制,默认为1000字,上限为5000,超过5000字符将被截断
- typingAnimate: true # 打字机动画
- direct: true # 是否直接显示摘要,否则显示 AI 简介
- recommend: all # all, web # 文章推荐方式,all:匹配数据库内所有文章进行推荐,web:仅当前站内的文章,默认all
- shuttle: true # 是否隐藏矩阵穿梭
+ key: 5Q5mpqRK5DkwT1X9Gi5e # tianli_gpt key
+ total_length: 1000 # 设置提交的字数限制,默认为1000字,上限为5000,超过5000字符将被截断
+ typewriter: true # 打字机动画
+ summary_directly: true # 是否直接显示摘要,否则显示 AI 简介
+ rec_method: all # all, web # 文章推荐方式,all:匹配数据库内所有文章进行推荐,web:仅当前站内的文章,默认all
+ hide_shuttle: true # 是否隐藏矩阵穿梭
+ summary_toggle: false
+ interface:
+ name: AI摘要
+ introduce: '我是文章辅助AI: QX-AI,点击下方的按钮,让我生成本文简介、推荐相关文章等。'
+ version: TianliGPT
+ button: ["介绍自己", "推荐文章", "生成摘要", "矩阵穿梭"]
+
# Katex - The fastest math typesetting library for the web
# https://katex.org/docs/autorender.html
diff --git a/layout/_plugins/tianli_gpt.ejs b/layout/_plugins/tianli_gpt.ejs
index 176f433..866dd6f 100644
--- a/layout/_plugins/tianli_gpt.ejs
+++ b/layout/_plugins/tianli_gpt.ejs
@@ -1,23 +1,11 @@
<% if (['all', page.layout].includes(theme.plugins.tianli_gpt.field)) { %>
-
-
+
- <% } %>
-
\ No newline at end of file
+ css: `/css/_plugins/tianli_gpt`
+ }, JSON.parse(`<%- JSON.stringify(theme.plugins.tianli_gpt) %>`)))
+ });
+
+<% } %>
\ No newline at end of file