mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: translate graph and chat text (#1433)
translate graph and chat text
This commit is contained in:
@ -303,14 +303,14 @@ export const useSelectDerivedConversationList = () => {
|
||||
const { conversationList, currentDialog } = chatModel;
|
||||
const { dialogId } = useGetChatSearchParams();
|
||||
const prologue = currentDialog?.prompt_config?.prologue ?? '';
|
||||
|
||||
const { t } = useTranslate('chat');
|
||||
const addTemporaryConversation = useCallback(() => {
|
||||
setList((pre) => {
|
||||
if (dialogId) {
|
||||
const nextList = [
|
||||
{
|
||||
id: '',
|
||||
name: 'New conversation',
|
||||
name: t('newConversation'),
|
||||
dialog_id: dialogId,
|
||||
message: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user