This commit is contained in:
Timothy Jaeryang Baek committed 2026-08-13 22:01:33 -06:00
1 parent 57bd08304e
commit d9014b3483
3 files changed
+21 -14

No files matched your search

+11 -4
View File
@@ -502,10 +502,17 @@
return; return;
} }
const res = await resolveChatMessageToolCall(localStorage.token, $chatId, messageId, callId, 'answer', { const res = await resolveChatMessageToolCall(
answers, localStorage.token,
timed_out: timedOut $chatId,
}).catch(async (error) => { messageId,
callId,
'answer',
{
answers,
timed_out: timedOut
}
).catch(async (error) => {
toast.error(`${error}`); toast.error(`${error}`);
await loadChat(); await loadChat();
}); });
@@ -316,11 +316,11 @@
{preview} {preview}
{compactPreview} {compactPreview}
{editCodeBlock} {editCodeBlock}
{onTaskClick} {onTaskClick}
{sourceIds} {sourceIds}
{onSourceClick} {onSourceClick}
{onToolCallResolved} {onToolCallResolved}
/> />
</blockquote> </blockquote>
{/if} {/if}
{:else if token.type === 'list'} {:else if token.type === 'list'}
@@ -193,11 +193,11 @@
content={detailToken.text} content={detailToken.text}
{done} {done}
{save} {save}
{preview} {preview}
{compactPreview} {compactPreview}
{editCodeBlock} {editCodeBlock}
{onToolCallResolved} {onToolCallResolved}
/> />
</div> </div>
</div> </div>
</Collapsible> </Collapsible>