From 95749bed16ba26c267eed820b9b567269c4e1115 Mon Sep 17 00:00:00 2001 From: silentoplayz Date: Tue, 13 Oct 2026 11:45:58 -0400 Subject: [PATCH] fix: running a code block shows the value of its last line instead of timing out --- src/lib/components/chat/Messages/CodeBlock.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Messages/CodeBlock.svelte b/src/lib/components/chat/Messages/CodeBlock.svelte index 03be479933..1c61eeb3cc 100644 --- a/src/lib/components/chat/Messages/CodeBlock.svelte +++ b/src/lib/components/chat/Messages/CodeBlock.svelte @@ -308,7 +308,7 @@ } } - if (data['result']) { + if (typeof data['result'] === 'string') { result = data['result']; const resultLines = result.split('\n');