Merge pull request #18215 from avatsaev/fix-auto-show-artifacts

fix: auto show artifacts when opening a conversation
This commit is contained in:
Tim Baek 2025-11-06 01:49:57 -05:00 committed by GitHub
commit 5f3f5170b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,7 +176,7 @@
{onSourceClick}
{onTaskClick}
{onSave}
onUpdate={(token) => {
onUpdate={async (token) => {
const { lang, text: code } = token;
if (
@ -185,6 +185,7 @@
!$mobile &&
$chatId
) {
await tick();
showArtifacts.set(true);
showControls.set(true);
}