diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt index 6925bc4e9b90..a94930636410 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/chat/ChatBrowser.kt @@ -592,8 +592,9 @@ class ChatBrowser(private val project: Project) : JBCefBrowser( } })() """.trimIndent().trimStart() + + logger.debug("Request to chat panel: $uuid, $method, $paramsJson") if (isChatPanelLoaded) { - logger.debug("Request to chat panel: $uuid, $method, $paramsJson") executeJs(script) } else { pendingScripts.add(script)