From 344c9c64fb474edc3771e7eee2112b0c9aa991d1 Mon Sep 17 00:00:00 2001 From: Zhiming Ma Date: Mon, 25 Nov 2024 00:21:37 +0800 Subject: [PATCH] docs: update trouble shooting doc for chat panel. (#3458) * docs: update trouble shooting doc for chat panel. * docs: fix trouble shooting doc format. * docs: fix trouble shooting doc format. --- .../docs/extensions/troubleshooting/index.md | 17 +++++++++++++++++ ...intellij-choose-boot-runtime-for-the-ide.png | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 website/docs/extensions/troubleshooting/intellij-choose-boot-runtime-for-the-ide.png diff --git a/website/docs/extensions/troubleshooting/index.md b/website/docs/extensions/troubleshooting/index.md index c28ba92f6f78..da1f84ee5ea0 100644 --- a/website/docs/extensions/troubleshooting/index.md +++ b/website/docs/extensions/troubleshooting/index.md @@ -121,6 +121,23 @@ on a GPU with CUDA or ROCm support or on Apple M1/M2 with Metal support. When ru the server, make sure to specify the device in the arguments using `--device cuda`, `--device rocm` or `--device metal`. You can also try using a smaller model from the available [models](https://tabby.tabbyml.com/docs/models/). +## Problems with the Chat Panel? + +### Check Server Enabling Chat Feature + +The chat panel is a feature that requires the Tabby server to enable the chat feature. Please make sure that the chat feature is properly configured in the server configuration file or that the server is started with the `--chat-model MODEL_NAME` flag. +You can access the server management page at `https://demo.tabbyml.com/system` to check if the chat feature is enabled. + +### Check Browser Compatibility in IntelliJ Platform IDEs + +The chat panel in IntelliJ Platform IDEs is implemented using an embedded JCEF browser. The support is included in the default Java Runtime for JetBrains IDEs, but it may not be by default in Android Studio. +Please follow the steps below to ensure that the JCEF browser is enabled in your IDE: + +1. Open `Search Everywhere` (Double `Shift`) or `Find Action` (`Ctrl + Shift + A`), and search for the action `Choose Boot Java Runtime for the IDE...` +2. Select a Java Runtime that includes JCEF support + ![Choose Boot Java Runtime for the IDE](./intellij-choose-boot-runtime-for-the-ide.png) +3. Restart the IDE + ## Want to Deep Dive via Logs? If you cannot solve the issue using the previous steps, you may want to diff --git a/website/docs/extensions/troubleshooting/intellij-choose-boot-runtime-for-the-ide.png b/website/docs/extensions/troubleshooting/intellij-choose-boot-runtime-for-the-ide.png new file mode 100644 index 000000000000..cbdecfc09e0b --- /dev/null +++ b/website/docs/extensions/troubleshooting/intellij-choose-boot-runtime-for-the-ide.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30a5a540a0979769e9bec20f7aed23d8c1a0c1adb047694b71096393dde128f1 +size 83599