perf: AI机器人支持多会话

This commit is contained in:
kuaifan
2025-02-10 16:48:08 +09:00
parent da0fa31181
commit 501235ef12
5 changed files with 186 additions and 14 deletions
+4 -4
View File
@@ -205,15 +205,15 @@ class UserBot extends AbstractModel
]
],
[
'key' => '~ai-chat-new',
'label' => Doo::translate('开启新对话'),
'key' => '~ai-session-create',
'label' => Doo::translate('开启新会话'),
'config' => [
'model' => $aibotSetting[$match[1] . '_model']
]
],
[
'key' => '~ai-chat-history',
'label' => Doo::translate('历史对话'),
'key' => '~ai-session-history',
'label' => Doo::translate('历史会话'),
]
];
}