diff --git a/docs/changelog/update.md b/docs/changelog/update.md
index 1a131f85..ac808c9d 100644
--- a/docs/changelog/update.md
+++ b/docs/changelog/update.md
@@ -14,7 +14,6 @@
- [ ] 添加统计信息
- [x] 添加内容审查功能
- [x] 补充 embedding 模型和 reranker 模型的配置说明
-- [ ] 知识库文件应该上传到 minio 中,然后就可以支持 从 minio 中下载文件
📝 **Base**
diff --git a/web/src/views/SettingView.vue b/web/src/views/SettingView.vue
index 31deea0b..da9fa67c 100644
--- a/web/src/views/SettingView.vue
+++ b/web/src/views/SettingView.vue
@@ -101,8 +101,8 @@
{{ items?.content_guard_llm_model.des }}
@@ -250,6 +250,19 @@ const handleChatModelSelect = ({ provider, name }) => {
})
}
+const contentGuardModelProvider = computed(() => {
+ const contentGuardModel = configStore.config?.content_guard_llm_model
+ if (!contentGuardModel) return ''
+ return contentGuardModel.split('/')[0]
+})
+
+const contentGuardModelName = computed(() => {
+ const contentGuardModel = configStore.config?.content_guard_llm_model
+ if (!contentGuardModel) return ''
+ const parts = contentGuardModel.split('/')
+ return parts.slice(1).join('/')
+})
+
const handleContentGuardModelSelect = ({ provider, name }) => {
configStore.setConfigValue('content_guard_llm_model', `${provider}/${name}`)
}