Commit aa71e623 by Sixong.Zhu

u

parent 524663cf
Showing with 2 additions and 1 deletions
...@@ -667,7 +667,7 @@ export default { ...@@ -667,7 +667,7 @@ export default {
const { imChatId } = await Chat.getSdk() const { imChatId } = await Chat.getSdk()
.model(params.modelName) .model(params.modelName)
.chat(params.selectedListId, orgId()) .chat(params.selectedListId, orgId())
.createChat(true); .createChat(true, params.title);
const chatId = +imChatId; const chatId = +imChatId;
await commit(ChatStore.MUTATION_SHOW_CHAT, true); await commit(ChatStore.MUTATION_SHOW_CHAT, true);
await dispatch( await dispatch(
......
...@@ -289,6 +289,7 @@ export namespace ChatStore { ...@@ -289,6 +289,7 @@ export namespace ChatStore {
modelName: string; modelName: string;
selectedListId: string; selectedListId: string;
uids: string[]; uids: string[];
title?: string;
}) => Promise<number>; }) => Promise<number>;
export const ACTION_CREATE_NEW_CHAT_BY_CLIENT_SIDE = 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