Skip to content

Commit

Permalink
✨ 优化ChatGPT提示及功能
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Apr 24, 2023
1 parent 3c23b75 commit 89ea274
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions inc/setting/options/OptionAi.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function get_fields(): array
'label'=>__('启用ChatGPT问答', PUOCK),
'type'=>'switch',
'sdt'=>false,
'tips'=>__('启用后去<a href="/wp-admin/post-new.php?post_type=page">创建页面</a>选择<code>ChatGPT问答</code>模板即可使用', PUOCK)
],
[
'id'=>'openai_api_key',
Expand Down Expand Up @@ -54,6 +55,13 @@ function get_fields(): array
'type'=>'switch',
'tips'=>__('是否在未登录状态下也可以使用', PUOCK),
],
[
'id'=>'openai_stream',
'label'=>__('使用Stream(实时输出)模式<code>即将支持</code>', PUOCK),
'type'=>'switch',
'disabled'=>true,
'tips'=>__('启用后请关闭nginx的<code>gzip</code>模式', PUOCK),
],
[
'id'=>'openai_default_welcome_chat',
'label'=>__('默认欢迎对话', PUOCK),
Expand Down

0 comments on commit 89ea274

Please sign in to comment.