fix: index (#5458)

* doc

* fix: home app name

* fix: char init error status

* fix: index

* fix: secret input
This commit is contained in:
Archer
2025-08-14 18:54:47 +08:00
committed by GitHub
parent 9a9f094e15
commit eadf2fd54c
14 changed files with 64 additions and 43 deletions

View File

@@ -89,7 +89,10 @@ const ChatSchema = new Schema({
});
try {
ChatSchema.index({ initCharts: 1 });
// Tmp
ChatSchema.index({ initStatistics: 1 });
ChatSchema.index({ appId: 1, tmbId: 1, outLinkUid: 1 });
ChatSchema.index({ chatId: 1 });
// get user history
ChatSchema.index({ tmbId: 1, appId: 1, top: -1, updateTime: -1 });

View File

@@ -40,7 +40,7 @@
"file_input": "系统文件",
"file_input_tip": "可通过【插件开始】节点的“文件链接”获取对应文件的链接",
"history_slider.home.title": "聊天",
"home.chat_app": "首页聊天-{{name}}",
"home.chat_app": "首页聊天",
"home.no_available_tools": "暂无可用工具",
"home.select_tools": "选择工具",
"home.tools": "工具:{{num}}",

View File

@@ -40,7 +40,7 @@
"file_input": "檔案輸入",
"file_input_tip": "可透過「外掛程式啟動」節點的「檔案連結」取得對應檔案的連結",
"history_slider.home.title": "聊天",
"home.chat_app": "首页聊天-{{name}}",
"home.chat_app": "首页聊天",
"home.chat_id": "會話ID",
"home.no_available_tools": "暫無可用工具",
"home.select_tools": "選擇工具",