Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0452b288
authored
Dec 08, 2021
by
Sixong.Zhu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
0360c5dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
store/index.ts
store/index.ts
View file @
0452b288
...
@@ -946,11 +946,18 @@ export default {
...
@@ -946,11 +946,18 @@ export default {
)
{
)
{
return
Promise
.
reject
();
return
Promise
.
reject
();
}
}
return
await
Chat
.
getSdk
()
return
new
Promise
<
void
>
((
resolve
,
reject
)
=>
{
Chat
.
getSdk
()
.
model
(
currentChat
.
model_name
)
.
model
(
currentChat
.
model_name
)
.
chat
(
currentChat
.
obj_id
,
orgId
())
.
chat
(
currentChat
.
obj_id
,
orgId
())
.
startChat
()
.
startChat
()
.
finally
(()
=>
dispatch
(
ChatStore
.
ACTION_GET_CHAT_MEMBERS
));
.
catch
(
reject
)
.
finally
(()
=>
dispatch
(
ChatStore
.
ACTION_GET_CHAT_MEMBERS
)
.
then
(
resolve
)
.
catch
(
reject
)
);
});
},
},
async
[
ChatStore
.
ACTION_CHAT_FINISH_RECEPTION
]({
getters
,
dispatch
})
{
async
[
ChatStore
.
ACTION_CHAT_FINISH_RECEPTION
]({
getters
,
dispatch
})
{
const
currentChat
=
getters
[
const
currentChat
=
getters
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment