Implement scoped real knowledge retrieval
This commit is contained in:
@@ -252,13 +252,6 @@ const systemSettingSections: SystemSettingSection[] = [
|
||||
max: 300,
|
||||
description: "真实模型请求超过该时间应判定为超时。",
|
||||
},
|
||||
{
|
||||
key: "mock_rag_enabled",
|
||||
label: "使用 mock RAG",
|
||||
type: "switch",
|
||||
defaultValue: true,
|
||||
description: "开发和演示环境可开启,真实飞书检索验收前应关闭。",
|
||||
},
|
||||
{
|
||||
key: "mock_model_enabled",
|
||||
label: "使用 mock 大模型",
|
||||
@@ -286,7 +279,7 @@ const systemSettingSections: SystemSettingSection[] = [
|
||||
},
|
||||
{
|
||||
title: "外部服务",
|
||||
description: "控制飞书检索服务的地址、超时、重试和 mock 开关。",
|
||||
description: "控制飞书搜索接口、飞书直读超时和重试策略。",
|
||||
settings: [
|
||||
{
|
||||
key: "feishu_search_url",
|
||||
@@ -314,13 +307,6 @@ const systemSettingSections: SystemSettingSection[] = [
|
||||
max: 10,
|
||||
description: "飞书检索失败时的最大重试次数。",
|
||||
},
|
||||
{
|
||||
key: "feishu_mock_enabled",
|
||||
label: "使用 mock 飞书检索",
|
||||
type: "switch",
|
||||
defaultValue: true,
|
||||
description: "开发和演示环境可开启,生产环境应关闭。",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user