PyCharm 2024.1.1 (Professional Edition)
Build #PY-241.15989.155, built on April 29, 2024
Licensed to MNLT Tech / Elsa Mortarion
Subscription is active until August 21, 2024.
Runtime version: 17.0.10+1-b1207.14 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.4.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
ide.balloon.shadow.size=0
ide.intellij.laf.enable.animation=true
ide.experimental.ui=true
Non-Bundled Plugins:
com.mallowigi.idea (23.0.0)
com.jetbrains.space (241.15989.9)
monokai-pro (1.10)
com.markskelton.one-dark-theme (5.10.0)
net.antelle.intellij-xcode-dark-theme (1.2.4)
com.shuzijun.markdown-editor (2.0.5)
com.samdark.intellij-visual-studio-code-dark-plus (2.8)
com.intellij.ml.llm (241.15989.156)
net.ashald.envfile (3.4.2)
ru.adelf.idea.dotenv (2024.1)
com.intellij.bigdatatools.core (241.15989.150)
com.intellij.bigdatatools.kafka (241.14494.158)
com.intellij.bigdatatools.binary.files (241.14494.158)
com.intellij.bigdatatools.rfs (241.15989.150)
com.intellij.bigdatatools.metastore.core (241.14494.158)
codiumai.codiumai (0.7.36)
com.sourcegraph.jetbrains (5.5.10)
com.intellij.bigdatatools.spark (241.15989.21)
Describe the bug
When i'm trying to chat with cody.
Expected behavior
Useful answers from cody
Additional context
Stacktrace:
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request chat/restore failed with message: No default chat model found
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
at com.sourcegraph.cody.chat.AgentChatSession.submitMessageToAgent$lambda$1(AgentChatSession.kt:109)
at com.sourcegraph.cody.agent.CodyAgentService$Companion$withAgent$2$1$task$1.invokeSuspend(CodyAgentService.kt:185)
at com.sourcegraph.cody.agent.CodyAgentService$Companion$withAgent$2$1$task$1.invoke(CodyAgentService.kt)
at com.sourcegraph.cody.agent.CodyAgentService$Companion$withAgent$2$1$task$1.invoke(CodyAgentService.kt)
at com.sourcegraph.cody.agent.CodyAgentService$Companion.coWithAgent(CodyAgentService.kt:241)
at com.sourcegraph.cody.agent.CodyAgentService$Companion$withAgent$2$1.invokeSuspend(CodyAgentService.kt:190)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at com.sourcegraph.cody.agent.CodyAgentService$Companion.withAgent$lambda$2(CodyAgentService.kt:182)
at com.intellij.openapi.application.impl.RwLockHolder$executeOnPooledThread$1.run(RwLockHolder.kt:154)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:32)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request chat/restore failed with message: No default chat model found
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:209)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
... 1 more
Additional info: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request chat/restore failed with message: No default chat model found
Cody Version
5.5.10
IDE Information
PyCharm 2024.1.1 (Professional Edition) Build #PY-241.15989.155, built on April 29, 2024 Licensed to MNLT Tech / Elsa Mortarion Subscription is active until August 21, 2024. Runtime version: 17.0.10+1-b1207.14 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 14.4.1 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 10 Metal Rendering is ON Registry: ide.balloon.shadow.size=0 ide.intellij.laf.enable.animation=true ide.experimental.ui=true Non-Bundled Plugins: com.mallowigi.idea (23.0.0) com.jetbrains.space (241.15989.9) monokai-pro (1.10) com.markskelton.one-dark-theme (5.10.0) net.antelle.intellij-xcode-dark-theme (1.2.4) com.shuzijun.markdown-editor (2.0.5) com.samdark.intellij-visual-studio-code-dark-plus (2.8) com.intellij.ml.llm (241.15989.156) net.ashald.envfile (3.4.2) ru.adelf.idea.dotenv (2024.1) com.intellij.bigdatatools.core (241.15989.150) com.intellij.bigdatatools.kafka (241.14494.158) com.intellij.bigdatatools.binary.files (241.14494.158) com.intellij.bigdatatools.rfs (241.15989.150) com.intellij.bigdatatools.metastore.core (241.14494.158) codiumai.codiumai (0.7.36) com.sourcegraph.jetbrains (5.5.10) com.intellij.bigdatatools.spark (241.15989.21)
Describe the bug
When i'm trying to chat with cody.
Expected behavior
Useful answers from cody
Additional context
Stacktrace:
Additional info:
org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Request chat/restore failed with message: No default chat model found