diff --git a/client/web-sveltekit/package.json b/client/web-sveltekit/package.json
index 8753b75dc0d..ae03578fd73 100644
--- a/client/web-sveltekit/package.json
+++ b/client/web-sveltekit/package.json
@@ -80,7 +80,7 @@
"@sentry/sveltekit": "^8.7.0",
"@sourcegraph/branded": "workspace:*",
"@sourcegraph/client-api": "workspace:*",
- "@sourcegraph/cody-web": "^0.3.7",
+ "@sourcegraph/cody-web": "^0.4.0",
"@sourcegraph/common": "workspace:*",
"@sourcegraph/http-client": "workspace:*",
"@sourcegraph/shared": "workspace:*",
diff --git a/client/web-sveltekit/src/lib/cody/CodySidebarChat.svelte b/client/web-sveltekit/src/lib/cody/CodySidebarChat.svelte
index fd3c77607d8..b8a4ae46836 100644
--- a/client/web-sveltekit/src/lib/cody/CodySidebarChat.svelte
+++ b/client/web-sveltekit/src/lib/cody/CodySidebarChat.svelte
@@ -1,31 +1,30 @@