This commit is contained in:
Timothy Jaeryang Baek 2026-08-13 22:01:33 -06:00
parent 57bd08304e
commit d9014b3483
3 changed files with 21 additions and 14 deletions

View file

@ -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();
});

View file

@ -316,11 +316,11 @@
{preview}
{compactPreview}
{editCodeBlock}
{onTaskClick}
{sourceIds}
{onSourceClick}
{onToolCallResolved}
/>
{onTaskClick}
{sourceIds}
{onSourceClick}
{onToolCallResolved}
/>
</blockquote>
{/if}
{:else if token.type === 'list'}

View file

@ -193,11 +193,11 @@
content={detailToken.text}
{done}
{save}
{preview}
{compactPreview}
{editCodeBlock}
{onToolCallResolved}
/>
{preview}
{compactPreview}
{editCodeBlock}
{onToolCallResolved}
/>
</div>
</div>
</Collapsible>