diff --git a/src/lib/AnthropicTab.svelte b/src/lib/AnthropicTab.svelte index ba9a282..f0c16ab 100644 --- a/src/lib/AnthropicTab.svelte +++ b/src/lib/AnthropicTab.svelte @@ -35,6 +35,7 @@ { await tick(); node.scrollTop = node.scrollHeight; + document.getElementById("ai-input").focus(); } function scrollMessage(node, messageList) { @@ -79,10 +80,6 @@ return false; return msg.content[0].type == "tool_result"; } - function autoFocus(node) - { - node.focus(); - }
WebVM is integrated with Claude by Anthropic AI. You can prompt the AI to control the system.
@@ -101,7 +98,7 @@ {#if $apiState == "KEY_REQUIRED"} - + {:else} - + {/if}