refac
This commit is contained in:
1 parent
57bd08304e
commit
d9014b3483
3 files changed
+21
-14
No files matched your search
@@ -502,10 +502,17 @@
|
||||
return;
|
||||
}
|
||||
|
||||
const res = await resolveChatMessageToolCall(localStorage.token, $chatId, messageId, callId, 'answer', {
|
||||
answers,
|
||||
timed_out: timedOut
|
||||
}).catch(async (error) => {
|
||||
const res = await resolveChatMessageToolCall(
|
||||
localStorage.token,
|
||||
$chatId,
|
||||
messageId,
|
||||
callId,
|
||||
'answer',
|
||||
{
|
||||
answers,
|
||||
timed_out: timedOut
|
||||
}
|
||||
).catch(async (error) => {
|
||||
toast.error(`${error}`);
|
||||
await loadChat();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user