Commit aa71e623 by Sixong.Zhu

u

parent 524663cf
Showing with 2 additions and 1 deletions
......@@ -667,7 +667,7 @@ export default {
const { imChatId } = await Chat.getSdk()
.model(params.modelName)
.chat(params.selectedListId, orgId())
.createChat(true);
.createChat(true, params.title);
const chatId = +imChatId;
await commit(ChatStore.MUTATION_SHOW_CHAT, true);
await dispatch(
......
......@@ -289,6 +289,7 @@ export namespace ChatStore {
modelName: string;
selectedListId: string;
uids: string[];
title?: string;
}) => Promise<number>;
export const ACTION_CREATE_NEW_CHAT_BY_CLIENT_SIDE =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment