I'm working on integrating tabby-agent
with the IntelliJ Tabby plugin. After running the preupgrade-agent
and upgrade-agent
scripts in the package.json
and executing runIde
with Gradle, I'm unable to connect to the server. This issue persists even when there are no changes in the main branch, and it affects the functioning of the packaged IntelliJ plugin, preventing me from adding new features. Is this a problem with my usage, or could there be a bug causing this issue?
moqi
Asked on Jan 17, 2024
The actions you've taken seem correct, but there might be a bug causing the issue. First, ensure that the endpoint URL and token (if necessary) are correctly set in the settings. If the problem persists, check the idea.log
file for any errors related to Agent
. You can filter the log by the keyword Agent
. Additionally, enable all level logs for tabby and check for the log entry INFO - #com.tabbyml.intellijtabby.agent.AgentService - Agent init done.
If you don't find this, it indicates that the tabby-agent.js
script might be throwing errors. For troubleshooting, try running your built tabby-agent.js
script with node ./tabby_agent.js
and send it an init request to see if the response is correct. If the script starts successfully and responds correctly to the init request, the issue might be elsewhere.