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