Cody unresponsive in PyCharm

Hello, Sourcegraph team,

I’ve been using Cody (quite successfully) for more than a month. Recently Cody has become unresponsive.

Here is the version information:

PyCharm 2024.1.1 (Professional Edition)
Build #PY-241.15989.155, built on April 29, 2024
Licensed to Rajah Chacko
Subscription is active until November 20, 2024.
Runtime version: 17.0.10+1-b1207.14 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Non-Bundled Plugins:
  com.jetbrains.space (241.15989.9)
  net.ashald.envfile (3.4.2)
  ru.adelf.idea.dotenv (2024.1)
  com.sourcegraph.jetbrains (5.5.10)

The Cody Chat tab responds with this:

Cody encountered an error when processing your message: 
⚠ org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request chat/new failed with message: No chat model found in server-provided config

When I select the My Account tab, it is stuck on “Current tier… Loading”

I originally authenticated using GitHub. I’ve tried disabling and enabling Cody.

Could you please help me get back to baseline? Thank you.

Hey @rajah9, thanks for reaching out. I’m sorry you’re having issues. Are you on an Enterprise plan, by chance? This error is related to Enterprise tickets I’m seeing on my end.

Regardless could you try downloading the latest nightly build and see if that solves it? https://plugins.jetbrains.com/plugin/9682-cody-ai-coding-assistant-with-autocomplete--chat/versions/nightly

hi, I’ve installed the nightly, 5.5.12-nightly . I’m encountering the same problem. (I’m still using the free tier.)

I’ve rolled back to 5.3.27. The token is still valid, and I got an “Authentication successful” from the browser.

Cody is still unresponsive within PyCharm. But now instead of ResponseErrorException I get no response at all.

Here’s the Information from the About PyCharm:

PyCharm 2024.1.1 (Professional Edition)
Build #PY-241.15989.155, built on April 29, 2024
Licensed to Rajah Chacko
Subscription is active until November 20, 2024.
Runtime version: 17.0.10+1-b1207.14 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Non-Bundled Plugins:
  com.jetbrains.space (241.15989.9)
  ru.adelf.idea.dotenv (2024.1)
  com.sourcegraph.jetbrains (5.3.27)

Figured it out!
I had set my token to expire after 90 days.
I generated a new token and Cody is responding.

1 Like

Thank you for following up. I will make sure the product team see this and makes sure the token is valid going forward!