Skip to content

Commit

Permalink
Enable 'accountSwitchingInWebview' capability
Browse files Browse the repository at this point in the history
  • Loading branch information
pkukielka committed Nov 20, 2024
1 parent af683c0 commit 4110d2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/kotlin/com/sourcegraph/cody/agent/CodyAgent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ private constructor(
"https://file+.sourcegraphstatic.com",
),
webviewMessages =
ClientCapabilities.WebviewMessagesEnum.`String-encoded`)))
ClientCapabilities.WebviewMessagesEnum.`String-encoded`,
accountSwitchingInWebview =
ClientCapabilities.AccountSwitchingInWebviewEnum.Enabled)))
.thenApply { info ->
logger.warn("Connected to Cody agent " + info.name)
server.initialized(null)
Expand Down

0 comments on commit 4110d2a

Please sign in to comment.